Skip to content

Commit fe77036

Browse files
authored
Use nginx-unprivileged image; fix exposed port (#436)
1 parent e67801c commit fe77036

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ COPY . .
1414
RUN corepack enable pnpm && pnpm run build
1515

1616
# Stage 3: Production image
17-
FROM nginx:stable AS production
17+
FROM nginxinc/nginx-unprivileged:stable AS production
1818
WORKDIR /app
1919
COPY --from=builder /app/out /app
2020
COPY ./nginx.conf /etc/nginx/conf.d/default.conf
2121

22-
EXPOSE 80
22+
EXPOSE 8080

0 commit comments

Comments
 (0)