mirror of
https://github.com/frappe/frappe_docker.git
synced 2026-06-26 09:05:10 +00:00
Fix nginx bind to port 80 error
This fixes `nginx: [emerg] bind() to 0.0.0.0:80 failed (13: Permission denied)` error as only root user can bind to port 80.
This commit is contained in:
parent
d049e33b40
commit
343be8dc0c
1 changed files with 1 additions and 0 deletions
|
|
@ -72,4 +72,5 @@ RUN chown -R nginx:nginx /assets /etc/nginx/conf.d/ /var/www/html/
|
|||
USER nginx
|
||||
|
||||
ENTRYPOINT ["/docker-entrypoint.sh"]
|
||||
USER root
|
||||
CMD ["nginx", "-g", "daemon off;"]
|
||||
|
|
|
|||
Loading…
Reference in a new issue