Download Dockerfile from dcorcoran/Pokemon_Card_Image_Processor: direct link, hf CLI and curl.
- Browser
- Download file 275 Bytes
-
https://huggingface.co/spaces/dcorcoran/Pokemon_Card_Image_Processor/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/dcorcoran/Pokemon_Card_Image_Processor/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/dcorcoran/Pokemon_Card_Image_Processor/resolve/main/Dockerfile
275 Bytes
| FROM python:3.11-slim | |
| WORKDIR /app | |
| # Install python dependencies | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Copy all frontend code | |
| COPY . . | |
| EXPOSE 8501 | |
| CMD ["streamlit", "run", "app.py", "--server.port=8501", "--server.address=0.0.0.0"] |