Update Dockerfile
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
@@ -29,7 +29,7 @@ WORKDIR $HOME/app
|
|
29 |
COPY --chown=user . $HOME/app
|
30 |
|
31 |
# Start uvicorn server with multiple workers
|
32 |
-
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860", "--workers", "1"]
|
33 |
|
34 |
# Expose the port for ngrok and FastAPI
|
35 |
EXPOSE 7860
|
|
|
29 |
COPY --chown=user . $HOME/app
|
30 |
|
31 |
# Start uvicorn server with multiple workers
|
32 |
+
CMD ["uvicorn", "app:app", "--proxy-headers", "--host", "0.0.0.0", "--port", "7860", "--workers", "1"]
|
33 |
|
34 |
# Expose the port for ngrok and FastAPI
|
35 |
EXPOSE 7860
|