From 7d94e11cee5037495daa63c758688d60caca2df2 Mon Sep 17 00:00:00 2001 From: Andrii Bratanin Date: Thu, 2 Nov 2023 10:10:13 +0200 Subject: [PATCH] fix(dockerfile): revert replacement of nginx image with non-privileged one (#716) Fixes https://github.com/CorentinTh/it-tools/issues/714 --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index d3d61311..734bd73d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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;"] \ No newline at end of file +CMD ["nginx", "-g", "daemon off;"]