mirror of
https://github.com/sartography/protocol-builder-mock.git
synced 2025-01-12 08:44:46 +00:00
Runs flask db upgrade on startup
This commit is contained in:
parent
a54ddec58b
commit
6f4f8df6a9
@ -22,6 +22,7 @@ ENV FLASK_APP=./protocol-builder-mock/__init__.py
|
||||
COPY . /protocol-builder-mock/
|
||||
|
||||
# run webserver by default
|
||||
CMD ["pipenv", "run", "flask", "db", "upgrade"]
|
||||
CMD ["pipenv", "run", "python", "/protocol-builder-mock/run.py"]
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user