Delete Dockerfile
Browse files- Dockerfile +0 -23
Dockerfile
DELETED
|
@@ -1,23 +0,0 @@
|
|
| 1 |
-
# Dockerfile for Hugging Face Space (exposes port 7860)
|
| 2 |
-
FROM python:3.10-slim
|
| 3 |
-
|
| 4 |
-
# set working directory
|
| 5 |
-
WORKDIR /app
|
| 6 |
-
|
| 7 |
-
# install system dependencies
|
| 8 |
-
RUN apt-get update && apt-get install -y --no-install-recommends \
|
| 9 |
-
build-essential \
|
| 10 |
-
&& rm -rf /var/lib/apt/lists/*
|
| 11 |
-
|
| 12 |
-
# copy requirements and install
|
| 13 |
-
COPY requirements.txt ./
|
| 14 |
-
RUN pip install --no-cache-dir -r requirements.txt
|
| 15 |
-
|
| 16 |
-
# copy application code (including app.py, templates/, static/)
|
| 17 |
-
COPY . ./
|
| 18 |
-
|
| 19 |
-
# expose Hugging Face default port
|
| 20 |
-
EXPOSE 7860
|
| 21 |
-
|
| 22 |
-
# start the FastAPI app via Uvicorn on port 7860
|
| 23 |
-
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|