mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-18 22:33:44 +02:00
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:
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/ \
|
||||
|
||||
Reference in New Issue
Block a user