Spaces:
Runtime error
Runtime error
Commit
·
f0345a9
1
Parent(s):
168e318
first commit
Browse files- Dockerfile +2 -0
Dockerfile
CHANGED
|
@@ -20,6 +20,8 @@ COPY main.py /code/main.py
|
|
| 20 |
|
| 21 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
| 22 |
|
|
|
|
|
|
|
| 23 |
COPY . .
|
| 24 |
|
| 25 |
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
|
|
|
|
| 20 |
|
| 21 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
| 22 |
|
| 23 |
+
RUN pip install fastapi uvicorn
|
| 24 |
+
|
| 25 |
COPY . .
|
| 26 |
|
| 27 |
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
|