forked from Alex/Pterodactyl-Panel
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:
parent
9a5486c0aa
commit
9e4286a548
2
.github/docker/entrypoint.sh
vendored
2
.github/docker/entrypoint.sh
vendored
@ -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/ \
|
||||
|
Loading…
Reference in New Issue
Block a user