Update Dockerfile
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
@@ -62,7 +62,7 @@ COPY --chown=admin . /srv
|
|
62 |
# Command to run the application
|
63 |
# CMD python -m uvicorn App.app:app --host 0.0.0.0 --port 7860 & python -m celery -A App.Worker.celery worker -c 5 --max-tasks-per-child=1 --without-heartbeat
|
64 |
|
65 |
-
CMD python -m uvicorn App.app:app --workers
|
66 |
|
67 |
# Expose port
|
68 |
EXPOSE 7860
|
|
|
62 |
# Command to run the application
|
63 |
# CMD python -m uvicorn App.app:app --host 0.0.0.0 --port 7860 & python -m celery -A App.Worker.celery worker -c 5 --max-tasks-per-child=1 --without-heartbeat
|
64 |
|
65 |
+
CMD python -m uvicorn App.app:app --workers 1 --host 0.0.0.0 --port 7860
|
66 |
|
67 |
# Expose port
|
68 |
EXPOSE 7860
|