Spaces:
Sleeping
Sleeping
Commit ·
874bca4
1
Parent(s): 2ac4b80
Fix: Update Dockerfile for flattened structure
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
FROM python:3.11-slim
|
| 2 |
WORKDIR /app
|
| 3 |
-
COPY
|
| 4 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 5 |
-
COPY
|
| 6 |
EXPOSE 7860
|
| 7 |
-
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|
|
|
|
| 1 |
FROM python:3.11-slim
|
| 2 |
WORKDIR /app
|
| 3 |
+
COPY requirements.txt .
|
| 4 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 5 |
+
COPY . .
|
| 6 |
EXPOSE 7860
|
| 7 |
+
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|