Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
|
@@ -24,4 +24,4 @@ EXPOSE 7860
|
|
| 24 |
|
| 25 |
# Run main.py when the container launches
|
| 26 |
# Use --host 0.0.0.0 to make it accessible from outside the container
|
| 27 |
-
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
|
|
|
|
| 24 |
|
| 25 |
# Run main.py when the container launches
|
| 26 |
# Use --host 0.0.0.0 to make it accessible from outside the container
|
| 27 |
+
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860", "--proxy-headers"]
|