Answers for "angular 11 docker"

0

angular docker file v12, angular version 12 docker,

# STEP 1 : build-stage
FROM node:14.16.0-alpine3.13 as build-stage

WORKDIR /app
COPY package*.json .
RUN npm install
COPY . .
RUN npm run build

# STEP 2 : Production
FROM nginx:1.12-alpine
# RUN addgroup app && adduser -S -G app app
# USER app
COPY --from=build-stage /app/dist/APP_NAME /usr/share/nginx/html
EXPOSE 80
ENTRYPOINT [ "nginx","-g","daemon off;" ]
Posted by: Guest on August-19-2021
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