Skip to content

Commit

Permalink
ci: remove ngssc
Browse files Browse the repository at this point in the history
  • Loading branch information
mghilardelli committed Jun 5, 2024
1 parent d7845b7 commit 84125ba
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions webapp/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,16 @@ FROM node:20.11.0-alpine as build

WORKDIR /build
COPY *.json *.js ./
RUN pwd
RUN ls -ls
RUN npm clean-install
COPY src/ ./src
RUN npm run build

FROM ghcr.io/nginxinc/nginx-unprivileged:1.25.3-alpine-slim

ADD --chmod=755 https://github.com/kyubisation/angular-server-side-configuration/releases/download/v17.0.2/ngssc_64bit /usr/sbin/ngssc
#ADD --chmod=755 https://github.com/kyubisation/angular-server-side-configuration/releases/download/v17.0.2/ngssc_64bit /usr/sbin/ngssc

# Add ngssc script
ADD --chmod=755 docker/99-ngssc.sh /docker-entrypoint.d/
#ADD --chmod=755 docker/99-ngssc.sh /docker-entrypoint.d/

# Add nginx configuration
ADD docker/nginx-angular.conf /etc/nginx/conf.d/default.conf
Expand Down

0 comments on commit 84125ba

Please sign in to comment.