feat: ship blog platform admin and deploy stack
This commit is contained in:
9
backend/docker-entrypoint.sh
Normal file
9
backend/docker-entrypoint.sh
Normal file
@@ -0,0 +1,9 @@
|
||||
#!/bin/sh
|
||||
set -eu
|
||||
|
||||
if [ "${TERMI_SKIP_MIGRATIONS:-false}" != "true" ]; then
|
||||
echo "[entrypoint] running database migrations..."
|
||||
termi_api-cli -e production db migrate
|
||||
fi
|
||||
|
||||
exec "$@"
|
||||
Reference in New Issue
Block a user