From fe77036acaf9ee4c0f9474522190079a1e7901a2 Mon Sep 17 00:00:00 2001 From: Dan Date: Sat, 7 Dec 2024 07:18:56 -0500 Subject: [PATCH] Use nginx-unprivileged image; fix exposed port (#436) --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 2d217dfcbec..f214858e2c7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,9 +14,9 @@ COPY . . RUN corepack enable pnpm && pnpm run build # Stage 3: Production image -FROM nginx:stable AS production +FROM nginxinc/nginx-unprivileged:stable AS production WORKDIR /app COPY --from=builder /app/out /app COPY ./nginx.conf /etc/nginx/conf.d/default.conf -EXPOSE 80 \ No newline at end of file +EXPOSE 8080