dockerfiles/ledger-web/docker-entrypoint.sh

7 lines
154 B
Bash

#!/bin/sh
gosu ledger /home/ledger/ledger-web/manage.py makemigrations && \
gosu ledger /home/ledger/ledger-web/manage.py migrate
exec gosu ledger "$@"