Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
Suryansh5545 committed Aug 5, 2023
1 parent b88ec7c commit 2dbae6b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker/prod/nodejs_v1/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:18.16.0
FROM node:18.16.0 as builder

ARG NODE_ENV
RUN npm install -g @angular/[email protected]
Expand All @@ -18,4 +18,4 @@ RUN ng build --configuration=${NODE_ENV}
FROM nginx:1.25.1-alpine
ARG NODE_ENV
COPY docker/prod/nodejs_v1/nginx_${NODE_ENV}.conf /etc/nginx/conf.d/default.conf
COPY --from=node /code/dist /usr/share/nginx/html
COPY --from=builder /code/dist /usr/share/nginx/html

0 comments on commit 2dbae6b

Please sign in to comment.