Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -1,10 +1,10 @@
|
|
| 1 |
FROM python:3.10-slim
|
| 2 |
|
| 3 |
WORKDIR /app
|
| 4 |
-
COPY
|
| 5 |
|
| 6 |
RUN pip install --upgrade pip
|
| 7 |
RUN pip install -r requirements.txt
|
| 8 |
|
| 9 |
EXPOSE 7860
|
| 10 |
-
CMD ["uvicorn", "
|
|
|
|
| 1 |
FROM python:3.10-slim
|
| 2 |
|
| 3 |
WORKDIR /app
|
| 4 |
+
COPY . .
|
| 5 |
|
| 6 |
RUN pip install --upgrade pip
|
| 7 |
RUN pip install -r requirements.txt
|
| 8 |
|
| 9 |
EXPOSE 7860
|
| 10 |
+
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|