Browse Source

starting nginx as root, since run user is defined

main
Holger Frey 3 years ago
parent
commit
848850d2bb
  1. 1
      Dockerfile

1
Dockerfile

@ -27,5 +27,4 @@ ADD public_nginx_conf /etc/nginx/sites-enabled/public_nginx_conf
# switch to the created user and run nginx # switch to the created user and run nginx
USER deploy
CMD ["nginx", "-g", "daemon off;"] CMD ["nginx", "-g", "daemon off;"]

Loading…
Cancel
Save