Update Dockerfile
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
@@ -22,7 +22,7 @@ USER admin
|
|
22 |
COPY --chown=admin . /srv
|
23 |
|
24 |
# Command to run the application
|
25 |
-
CMD uvicorn App.app:app --host 0.0.0.0 --port 7860
|
26 |
|
27 |
# Expose the server port
|
28 |
EXPOSE 7860
|
|
|
22 |
COPY --chown=admin . /srv
|
23 |
|
24 |
# Command to run the application
|
25 |
+
CMD uvicorn App.app:app --host 0.0.0.0 --port 7860 & celery -A App.Worker.celery worker -c 4 --loglevel=info --without-heartbeat
|
26 |
|
27 |
# Expose the server port
|
28 |
EXPOSE 7860
|