From 6d12ce25d3f1406ae9f6732198ef8fb89abe6ece Mon Sep 17 00:00:00 2001 From: th3r00t Date: Sat, 6 Sep 2025 14:57:49 -0400 Subject: [PATCH] Initialize Database through docker --- Dockerfile | 1 + 1 file changed, 1 insertion(+) 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"]