docker: set errexit in the entrypoint script

Currently container startup will ignore any errors, which will tend
to leave things in a broken state if operations like migrations or
certificate provisioning fail. Prefer to terminate the container
rather than try to limp on.
This commit is contained in:
Peter Marheine
2021-03-28 12:38:25 +11:00
committed by GitHub
parent 9a5486c0aa
commit 9e4286a548

View File

@@ -1,4 +1,4 @@
#!/bin/ash
#!/bin/ash -e
cd /app
mkdir -p /var/log/panel/logs/ /var/log/supervisord/ /var/log/nginx/ /var/log/php7/ \