Select Git revision
_error.function.fish
Dockerfile-Production 530 B
FROM node:16.10 as builder
ADD package.json package-lock.json /build/
WORKDIR /build
RUN npm install
ADD . /build
#RUN npm run ng build -- --base-href=/
RUN npm run ng build -- --configuration production --progress false --aot --base-href=/
#RUN npm run ng build --progress false --base-href=/
RUN ls -Rl dist
RUN pwd
FROM nginx:1.17.6-alpine
COPY --from=builder /build/dist/angular-oidc-authorization-sample /usr/share/nginx/html
RUN ls -l usr/share/nginx/html
COPY default.conf /etc/nginx/conf.d/
RUN ls -l /etc/nginx/conf.d/