mirror of
https://github.com/DarrylNixon/ghostforge
synced 2024-04-22 06:27:20 -07:00
Add alembic migration support to Docker*
This commit is contained in:
parent
ce30df0520
commit
d05141075e
2 changed files with 9 additions and 2 deletions
|
@ -34,4 +34,4 @@ EXPOSE ${ENV_GHOSTFORGE_INTERNAL_WEB_PORT}
|
|||
|
||||
# TODO: Replace with ghostforge_serve when it works.
|
||||
# This currently just keeps the container running for development.
|
||||
CMD ["sh", "-c", "uvicorn ghostforge.serve:gf --host 0.0.0.0 --port $GHOSTFORGE_INTERNAL_WEB_PORT"]
|
||||
CMD ["sh", "-c", "alembic upgrade head && uvicorn ghostforge.serve:gf --host 0.0.0.0 --port $GHOSTFORGE_INTERNAL_WEB_PORT"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue