Spaces:
Runtime error
Runtime error
Fix Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
FROM python:3.10
|
| 2 |
|
| 3 |
-
RUN pip install fastapi[standard]
|
| 4 |
|
| 5 |
COPY --link . .
|
| 6 |
|
| 7 |
-
CMD ["uvicorn", "
|
|
|
|
| 1 |
FROM python:3.10
|
| 2 |
|
| 3 |
+
RUN pip install fastapi uvicorn[standard]
|
| 4 |
|
| 5 |
COPY --link . .
|
| 6 |
|
| 7 |
+
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|