Spaces:
Sleeping
Sleeping
Download Dockerfile from shuraimi/Pokemon_Classifier_Gen9: direct link, hf CLI and curl.
- Browser
- Download file 490 Bytes
-
https://huggingface.co/spaces/shuraimi/Pokemon_Classifier_Gen9/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/shuraimi/Pokemon_Classifier_Gen9/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/shuraimi/Pokemon_Classifier_Gen9/resolve/main/Dockerfile
490 Bytes
| FROM python:3.10-slim | |
| WORKDIR /app | |
| # Install system dependencies | |
| RUN apt-get update && apt-get install -y build-essential git && rm -rf /var/lib/apt/lists/* | |
| # Copy dependencies | |
| COPY requirements.txt . | |
| # Install Python packages | |
| RUN pip install --upgrade pip | |
| RUN pip install -r requirements.txt | |
| # Copy your source code | |
| COPY src/ ./src/ | |
| COPY models/ ./models/ | |
| # Run the Streamlit app | |
| EXPOSE 7860 | |
| CMD ["streamlit", "run", "src/app.py", "--server.port=7860", "--server.address=0.0.0.0"] | |