Spaces:
Sleeping
Sleeping
Download Dockerfile from Selva1103/testing_classify: direct link, hf CLI and curl.
- Browser
- Download file 323 Bytes
-
https://huggingface.co/spaces/Selva1103/testing_classify/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Selva1103/testing_classify/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Selva1103/testing_classify/resolve/main/Dockerfile
323 Bytes
| # Use Python 3.11 base image | |
| FROM python:3.11 | |
| # Set working directory | |
| WORKDIR /app | |
| # Copy all project files | |
| COPY . . | |
| # Install dependencies | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Expose port 7860 (Hugging Face Spaces requirement) | |
| EXPOSE 7860 | |
| # Run the Flask app | |
| CMD ["python", "app.py"] | |