Spaces:
Runtime error
Runtime error
Download Dockerfile from capstone-bertani/bertani: direct link, hf CLI and curl.
- Browser
- Download file 253 Bytes
-
https://huggingface.co/spaces/capstone-bertani/bertani/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/capstone-bertani/bertani/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/capstone-bertani/bertani/resolve/main/Dockerfile
253 Bytes
| FROM python:3.10-slim | |
| WORKDIR /app | |
| # Copy requirements dan install | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Copy semua file | |
| COPY . . | |
| # Gunicorn untuk expose Flask | |
| CMD ["gunicorn", "-b", "0.0.0.0:7860", "app:app"] | |