Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -17,7 +17,7 @@ ENV PYTHONUNBUFFERED=1 \
|
|
| 17 |
COPY requirements.txt .
|
| 18 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 19 |
|
| 20 |
-
COPY .
|
| 21 |
COPY . .
|
| 22 |
|
| 23 |
# Expose the port for Hugging Face Spaces
|
|
@@ -26,4 +26,4 @@ EXPOSE 7860
|
|
| 26 |
|
| 27 |
|
| 28 |
# Use python -m uvicorn for reliability
|
| 29 |
-
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
|
|
|
|
| 17 |
COPY requirements.txt .
|
| 18 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 19 |
|
| 20 |
+
COPY app.main .
|
| 21 |
COPY . .
|
| 22 |
|
| 23 |
# Expose the port for Hugging Face Spaces
|
|
|
|
| 26 |
|
| 27 |
|
| 28 |
# Use python -m uvicorn for reliability
|
| 29 |
+
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"]
|