Skip to content

Collection of handy online tools for developers, with great UX.

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

Andrii Bratanin7d94e11cee50
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;"]