Skip to content

Commit

Permalink
fix(dockerfile): revert replacement of nginx image with non-privilege…
Browse files Browse the repository at this point in the history
  • Loading branch information
andriibratanin authored Nov 2, 2023
1 parent e87f4b1 commit 7d94e11
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ COPY . .
RUN pnpm build

# production stage
FROM nginxinc/nginx-unprivileged:stable-alpine AS production-stage
FROM nginx:stable-alpine AS production-stage
COPY --from=build-stage /app/dist /usr/share/nginx/html
COPY nginx.conf /etc/nginx/conf.d/default.conf
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]
CMD ["nginx", "-g", "daemon off;"]

0 comments on commit 7d94e11

Please sign in to comment.