Files
dockerfiles/uwsgi-nginx/app/prestart.sh
T
2021-06-25 23:55:24 +08:00

13 lines
204 B
Bash

#! /usr/bin/env sh
echo "Running inside /app/prestart.sh, you could add migrations to this file, e.g.:"
echo "
#! /usr/bin/env bash
# Let the DB start
sleep 10;
# Run migrations
alembic upgrade head
"