Enabling testing inside Docker container

This commit is contained in:
2026-03-05 14:57:54 +02:00
parent 03ba3fb3c2
commit 2776f5dfa7
5 changed files with 54 additions and 9 deletions
+2
View File
@@ -26,6 +26,8 @@ services:
BASE_URL: http://localhost:9995
ports:
- "9995:9995"
volumes:
- .:/app # Mount current directory to /app inside container
command: >
sh -c "alembic upgrade head &&
uvicorn app.main:app --host 0.0.0.0 --port 9995"