Run alembic migrations on startup, fix User model, add POI travel sorting and streaming options
This commit is contained in:
parent
743e018668
commit
54bdcac14a
5 changed files with 34 additions and 10 deletions
|
|
@ -42,4 +42,4 @@ ENV PATH="/app/.venv/bin:$PATH"
|
|||
COPY . .
|
||||
|
||||
EXPOSE 5001
|
||||
CMD ["uvicorn", "api.app:app", "--host", "0.0.0.0", "--port", "5001"]
|
||||
CMD ["sh", "-c", "alembic upgrade head && uvicorn api.app:app --host 0.0.0.0 --port 5001"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue