mirror of
https://github.com/makayabou/asg-server.git
synced 2026-05-02 17:43:36 +02:00
Merge pull request #28 from capcom6/bugfix/docker-entrypoint
Fixed: signals handling in Docker
This commit is contained in:
commit
7899219fdd
@ -1,4 +1,10 @@
|
||||
#!/bin/sh
|
||||
# docker-entrypoint.sh
|
||||
|
||||
/app/app db:migrate up \
|
||||
&& /app/app $@
|
||||
# Immediately exit if any command has a non-zero exit status.
|
||||
set -e
|
||||
|
||||
# Execute any pre-startup scripts or tasks.
|
||||
/app/app db:migrate up
|
||||
|
||||
exec /app/app "$@"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user