diff --git a/docker-compose.yml b/docker-compose.yml index 67c8207..4452ed6 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -9,4 +9,4 @@ services: ports: - "8000:8000" restart: unless-stopped - command: uvicorn api:app --host 0.0.0.0 --port 8000 + command: python init_db.py && uvicorn api:app --host 0.0.0.0 --port 8000