chore: run nginx unprivileged

This commit is contained in:
nwittstruck 2024-01-07 11:46:08 +01:00
parent ad571b12b8
commit c4d5da3bf5

View File

@ -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