Spaces:
Sleeping
Sleeping
Download Dockerfile from dkvbabu/fdp-flask-api: direct link, hf CLI and curl.
- Browser
- Download file 270 Bytes
-
https://huggingface.co/spaces/dkvbabu/fdp-flask-api/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/dkvbabu/fdp-flask-api/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/dkvbabu/fdp-flask-api/resolve/main/Dockerfile
270 Bytes
| FROM python:3.10-slim | |
| # Set working directory | |
| WORKDIR /app | |
| # Copy all files | |
| COPY . . | |
| # Install dependencies | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Expose port 7860 (required by HF Spaces) | |
| EXPOSE 7860 | |
| # Run Flask app | |
| CMD ["python", "flask_api.py"] |