Skip to content

Commit

Permalink
Merge pull request #17927 from JuniorJPDJ/patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
t3chguy authored Jul 14, 2021
2 parents 6155c5b + 09d8ac1 commit 5039952
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,9 @@ RUN sed -i '3i\ \ \ \ application/wasm wasm\;' /etc/nginx/mime.types

RUN rm -rf /usr/share/nginx/html \
&& ln -s /app /usr/share/nginx/html

RUN mkdir -p /var/log/nginx /var/cache/nginx /var/run/nginx \
&& chown -R nginx:nginx /var/log/nginx /var/run/nginx /var/cache/nginx \
&& sed -e 's#/var/run/nginx.pid#/var/run/nginx/nginx.pid#' -i /etc/nginx/nginx.conf

USER nginx

0 comments on commit 5039952

Please sign in to comment.