diff --git a/Dockerfile b/Dockerfile index bfa7509..cc0a56e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -18,5 +18,4 @@ RUN mkdir -p /app/data && chmod 777 /app/data EXPOSE 8000 # Lancer l'API et initialiser la DB au démarrage -#CMD ["sh", "-c", "python init_db.py && uvicorn api:app --host 0.0.0.0 --port 8000 --reload"] -CMD ["sh", "-c", "python init_db.py && uvicorn api:app --host 0.0.0.0 --port 8000"] +CMD ["sh", "-c", "uvicorn api:app --host 0.0.0.0 --port 8000"] diff --git a/docker-compose.yml b/docker-compose.yml index 4452ed6..2379fd6 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -8,5 +8,4 @@ services: - ./logs:/app/logs ports: - "8000:8000" - restart: unless-stopped - command: python init_db.py && uvicorn api:app --host 0.0.0.0 --port 8000 + restart: unless-stopped \ No newline at end of file