mirror of
https://github.com/AykutSarac/jsoncrack.com.git
synced 2025-01-12 19:02:53 +08:00
Use nginx-unprivileged image; fix exposed port (#436)
This commit is contained in:
parent
e67801c67c
commit
fe77036aca
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user