refactor: separate migrations from API runtime
This commit is contained in:
1 parent
868278fdba
commit
049f1ef30a
6 files changed
+44
-7
No files matched your search
+1
-1
@@ -8,4 +8,4 @@ COPY --chown=rf4:rf4 apps/api .
|
||||
COPY --chown=rf4:rf4 rf4_research ./rf4_research
|
||||
USER rf4
|
||||
EXPOSE 8000
|
||||
CMD ["sh", "-c", "alembic upgrade head && python -m app.seed && uvicorn app.main:app --host 0.0.0.0 --port 8000 --no-access-log"]
|
||||
CMD ["sh", "-c", "python -m app.seed && uvicorn app.main:app --host 0.0.0.0 --port 8000 --no-access-log"]
|
||||
Reference in new issue
Block a user