Spaces:
No application file
No application file
Delete Dockerfile
Browse files- Dockerfile +0 -16
Dockerfile
DELETED
|
@@ -1,16 +0,0 @@
|
|
| 1 |
-
FROM python:3.10-slim
|
| 2 |
-
|
| 3 |
-
WORKDIR /app
|
| 4 |
-
|
| 5 |
-
# Copy requirements and install
|
| 6 |
-
COPY requirements.txt .
|
| 7 |
-
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
| 8 |
-
|
| 9 |
-
# Copy the rest of the app
|
| 10 |
-
COPY . .
|
| 11 |
-
|
| 12 |
-
# Spaces default port
|
| 13 |
-
EXPOSE 7860
|
| 14 |
-
|
| 15 |
-
# Start FastAPI
|
| 16 |
-
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|