Skip to content

Commit 9e4286a

Browse files
authored
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.
1 parent 9a5486c commit 9e4286a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/docker/entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/ash
1+
#!/bin/ash -e
22
cd /app
33

44
mkdir -p /var/log/panel/logs/ /var/log/supervisord/ /var/log/nginx/ /var/log/php7/ \

0 commit comments

Comments
 (0)