Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +3 -4
Dockerfile
CHANGED
|
@@ -1,7 +1,6 @@
|
|
| 1 |
FROM python:3.8.10-slim
|
| 2 |
|
| 3 |
-
WORKDIR /
|
| 4 |
-
COPY ./requirements.txt /
|
| 5 |
-
RUN pip install --no-cache-dir --upgrade -r /
|
| 6 |
-
COPY ./app /code
|
| 7 |
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000"]
|
|
|
|
| 1 |
FROM python:3.8.10-slim
|
| 2 |
|
| 3 |
+
WORKDIR /
|
| 4 |
+
COPY ./requirements.txt /requirements.txt
|
| 5 |
+
RUN pip install --no-cache-dir --upgrade -r /requirements.txt
|
|
|
|
| 6 |
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000"]
|