Answers for "angular 9 dockerfile"

0

angular 9 dockerfile

FROM node:12.16.2-stretch-slim AS build
COPY . /app
WORKDIR /app
RUN npm install && npm run build:prod && rm -rf node_modules/

FROM nginx:1.17.9-alpine as runtime
COPY --from=build /app/default.conf /etc/nginx/conf.d/
COPY --from=build /app/dist/ /var/www
EXPOSE 80
Posted by: Guest on May-01-2020
0

angular 11 docker

FROM nginx:1.17.1-alpineCOPY nginx.conf /etc/nginx/nginx.confCOPY /dist/aston-villa-app /usr/share/nginx/html
Posted by: Guest on May-23-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language