fix(dockerfile): revert replacement of nginx image with non-privileged one (#716)

Fixes https://github.com/CorentinTh/it-tools/issues/714
This commit is contained in:
Andrii Bratanin 2023-11-02 10:10:13 +02:00 committed by GitHub
parent e87f4b1837
commit 7d94e11cee
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;"]