Skip to content

Commit

Permalink
update dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Amit Shalev authored and Amit Shalev committed Aug 16, 2023
1 parent 20e7e38 commit 2fb18aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile.prod
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ COPY . ./
RUN npm run build

# copy the production artifacts to the nginx server folder
FROM nginx:stable-alpine
FROM nginxinc/nginx-unprivileged:stable-alpine
COPY --from=build /app/prod/dist /usr/share/nginx/html

#expose the app port
EXPOSE 80
EXPOSE 8080
CMD ["nginx", "-g", "daemon off;"]

0 comments on commit 2fb18aa

Please sign in to comment.