Merge pull request #1220 from enchant97-forks/develop
Use nginx-unprivileged
This commit is contained in:
+1
-1
@@ -12,6 +12,6 @@ WORKDIR /home
|
||||
RUN yarn install
|
||||
RUN yarn build
|
||||
|
||||
FROM nginx:alpine as mermaid-live-editor-runner
|
||||
FROM nginxinc/nginx-unprivileged:alpine as mermaid-live-editor-runner
|
||||
COPY ./nginx.conf /etc/nginx/conf.d/default.conf
|
||||
COPY --from=mermaid-live-editor-builder --chown=nginx:nginx /home/docs /usr/share/nginx/html
|
||||
|
||||
Reference in New Issue
Block a user