Spaces:
Running
Running
Wimmboo commited on
Commit ·
029bd9c
1
Parent(s): 61a39ca
add forwarded-allow-ips
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
|
@@ -4,4 +4,4 @@ COPY requirements.txt .
|
|
| 4 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 5 |
COPY . .
|
| 6 |
EXPOSE 7860
|
| 7 |
-
CMD uvicorn main:app --host 0.0.0.0 --port 7860
|
|
|
|
| 4 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 5 |
COPY . .
|
| 6 |
EXPOSE 7860
|
| 7 |
+
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860", "--forwarded-allow-ips", "*"]
|