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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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/ \