Spaces:
Sleeping
Sleeping
playing with docker for https
Browse files- Dockerfile +3 -1
Dockerfile
CHANGED
@@ -70,4 +70,6 @@ WORKDIR /home/user/app/backend
|
|
70 |
EXPOSE 7860
|
71 |
|
72 |
# Start the FastAPI server
|
73 |
-
CMD ["python", "-m", "uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
|
|
|
|
|
|
70 |
EXPOSE 7860
|
71 |
|
72 |
# Start the FastAPI server
|
73 |
+
# CMD ["python", "-m", "uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
|
74 |
+
# Update this line in your Dockerfile
|
75 |
+
CMD ["python", "-m", "uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860", "--proxy-headers", "--forwarded-allow-ips=*"]
|