Skip to content

Commit

Permalink
Use nginx-unprivileged image; fix exposed port (#436)
Browse files Browse the repository at this point in the history
  • Loading branch information
breakid authored Dec 7, 2024
1 parent e67801c commit fe77036
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
@@ -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
EXPOSE 8080

0 comments on commit fe77036

Please sign in to comment.