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
…d one (#716)

Fixes #714
  • 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;"]

1 comment on commit 7d94e11

@vercel
Copy link

@vercel vercel bot commented on 7d94e11 Nov 2, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.