Skip to content

Commit

Permalink
Make webdriver user the owner of /var/lib/nginx.
Browse files Browse the repository at this point in the history
  • Loading branch information
blueimp committed Sep 24, 2021
1 parent 0a3d94d commit 6c10242
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 @@ -40,7 +40,7 @@ RUN BASE_URL=https://github.com/mozilla/geckodriver/releases/download \
# Configure nginx to run in a container context:
RUN ln -sf /dev/stdout /var/log/nginx/access.log
RUN ln -sf /dev/stderr /var/log/nginx/error.log
RUN cd /var/lib/nginx && mkdir body proxy fastcgi uwsgi scgi
RUN chown -R webdriver:webdriver /var/lib/nginx
RUN touch /run/nginx.pid && chown -R webdriver:webdriver /run/nginx.pid

COPY nginx.conf /etc/nginx/
Expand Down

0 comments on commit 6c10242

Please sign in to comment.