register database with docker compose; add uv & pyproject

This commit is contained in:
2026-04-16 20:18:03 +08:00
parent 4e0df5f13e
commit 4bb768aa33
6 changed files with 553 additions and 3 deletions
-2
View File
@@ -26,6 +26,4 @@ RUN uv sync --no-dev
EXPOSE 8000
# CMD ["python", "main.py"]
# CMD ["uv", "run", "python", "main.py"]
CMD ["uv", "run", "python", "-m", "app.main"]