Changed the running command of the Docker container.
This commit is contained in:
@@ -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"]
|
||||
Reference in New Issue
Block a user