run migrations via entrypoint script
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
9cda832b82
commit
a92bf0a8c3
3 changed files with 11 additions and 2 deletions
9
rel/overlays/bin/docker-entrypoint.sh
Executable file
9
rel/overlays/bin/docker-entrypoint.sh
Executable file
|
|
@ -0,0 +1,9 @@
|
|||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
echo "==> Running database migrations..."
|
||||
/app/bin/migrate
|
||||
|
||||
echo "==> Starting application..."
|
||||
exec /app/bin/server
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue