nopaque/docker-entrypoint.sh

14 lines
192 B
Bash
Raw Normal View History

#!/bin/bash
# If no argument is given, start Opaque
if [ $# -eq 0 ]
then
venv/bin/python opaque.py
else
if [[ $1 == "--create-db" ]]
then
flask db init
flask db upgrade
fi
fi