jacky3102 commited on
Commit
3e660a7
·
1 Parent(s): 261ea28

Remove Dockerfile - let HF auto-build Gradio space

Browse files
Files changed (1) hide show
  1. Dockerfile +0 -23
Dockerfile DELETED
@@ -1,23 +0,0 @@
1
- # Use HF's recommended base for Gradio Spaces
2
- FROM python:3.10-slim
3
-
4
- # Install system dependencies
5
- RUN apt-get update && apt-get install -y --no-install-recommends \
6
- git \
7
- && rm -rf /var/lib/apt/lists/*
8
-
9
- WORKDIR /app
10
-
11
- # Copy and install requirements (single pip install)
12
- COPY requirements.txt .
13
- RUN pip install --no-cache-dir -r requirements.txt
14
-
15
- # Copy app
16
- COPY app.py .
17
-
18
- # HF expects the app to be at /app/app.py and will run it
19
- ENV GRADIO_SERVER_NAME=0.0.0.0
20
- ENV GRADIO_SERVER_PORT=7860
21
- ENV PYTHONUNBUFFERED=1
22
-
23
- CMD ["python", "app.py"]