use unprivileged nginx container
This commit is contained in:
@ -19,7 +19,7 @@ COPY . .
|
||||
RUN npm run build
|
||||
|
||||
# Use separate stage for deployable image
|
||||
FROM nginx:1.23-alpine
|
||||
FROM nginxinc/nginx-unprivileged:1.23-alpine-perl
|
||||
|
||||
# Use COPY --link to avoid breaking cache if we change the second stage base image
|
||||
COPY --link nginx.conf /etc/nginx/conf.d/default.conf
|
||||
|
||||
Reference in New Issue
Block a user