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