Initialize Database through docker

This commit is contained in:
2025-09-06 14:57:49 -04:00
parent a1cfddaf58
commit 6d12ce25d3

View File

@@ -46,4 +46,5 @@ HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \
CMD curl -f http://localhost:8080/health || exit 1 CMD curl -f http://localhost:8080/health || exit 1
# Default command # Default command
CMD ["python", "src/migrate.py", "init"]
CMD ["python", "-m", "uvicorn", "src.webapp:app", "--host", "0.0.0.0", "--port", "8080"] CMD ["python", "-m", "uvicorn", "src.webapp:app", "--host", "0.0.0.0", "--port", "8080"]