Spaces:
Sleeping
Sleeping
unfinity
commited on
Commit
·
3a9708b
1
Parent(s):
ad29a66
pip install uvicorn
Browse files- Dockerfile +2 -0
Dockerfile
CHANGED
@@ -2,6 +2,8 @@ FROM nvcr.io/nvidia/pytorch:23.12-py3
|
|
2 |
|
3 |
WORKDIR /code
|
4 |
|
|
|
|
|
5 |
COPY . .
|
6 |
|
7 |
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
|
|
|
2 |
|
3 |
WORKDIR /code
|
4 |
|
5 |
+
RUN pip install uvicorn fastapi
|
6 |
+
|
7 |
COPY . .
|
8 |
|
9 |
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
|