Skip to content

Commit

Permalink
Merge pull request #1220 from enchant97-forks/develop
Browse files Browse the repository at this point in the history
Use nginx-unprivileged
  • Loading branch information
sidharthv96 committed May 9, 2023
2 parents 635345e + a8c0fb1 commit b1bcc5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit b1bcc5a

Please sign in to comment.