chore: run nginx unprivileged
This commit is contained in:
parent
ad571b12b8
commit
c4d5da3bf5
@ -15,7 +15,7 @@ COPY . .
|
|||||||
ARG NODE_ENV=production
|
ARG NODE_ENV=production
|
||||||
RUN yarn build:app:docker
|
RUN yarn build:app:docker
|
||||||
|
|
||||||
FROM nginx:1.21-alpine as production
|
FROM nginxinc/nginx-unprivileged:1.25-alpine-slim as production
|
||||||
|
|
||||||
COPY --from=production_buildstage /opt/node_app/excalidraw-app/build /usr/share/nginx/html
|
COPY --from=production_buildstage /opt/node_app/excalidraw-app/build /usr/share/nginx/html
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user