Update Dockerfile
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
@@ -71,7 +71,7 @@ COPY --chown=admin . /srv
|
|
71 |
RUN chown -R admin:admin /srv
|
72 |
RUN chmod 755 /srv
|
73 |
USER admin
|
74 |
-
CMD python -m uvicorn App.app:app --workers
|
75 |
|
76 |
# Expose port
|
77 |
EXPOSE 7860
|
|
|
71 |
RUN chown -R admin:admin /srv
|
72 |
RUN chmod 755 /srv
|
73 |
USER admin
|
74 |
+
CMD python -m uvicorn App.app:app --workers 4 --host 0.0.0.0 --port 7860
|
75 |
|
76 |
# Expose port
|
77 |
EXPOSE 7860
|