Changed the running command of the Docker container.

This commit is contained in:
2025-03-30 08:06:31 +03:00
parent ebe2c9b493
commit 3d5557d603
5 changed files with 13 additions and 5 deletions

View File

@@ -27,7 +27,10 @@ RUN pip install --no-cache-dir -r files/requirements.txt
COPY . .
RUN rm files/db.sqlite -f
RUN /usr/local/bin/alembic -c alembic/alembic.ini upgrade head
# Command to run the FastAPI application
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8080"]
# CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8080"]
CMD ["bash", "/app/scripts/run.sh"]