Spaces:
Runtime error
Runtime error
Download Dockerfile from blanchon/qrcode-diffusion: direct link, hf CLI and curl.
- Browser
- Download file 342 Bytes
-
https://huggingface.co/spaces/blanchon/qrcode-diffusion/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/blanchon/qrcode-diffusion/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/blanchon/qrcode-diffusion/resolve/main/Dockerfile
342 Bytes
| FROM pytorch/pytorch:2.0.0-cuda11.7-cudnn8-runtime | |
| # Install dependencies | |
| COPY requirements.txt /tmp/requirements.txt | |
| RUN python -m pip install --upgrade pip && \ | |
| python -m pip install -r /tmp/requirements.txt | |
| # Copy source code | |
| WORKDIR /app | |
| RUN mkdir /app/cache | |
| COPY ./app.py /app/app.py | |
| # Run the application | |
| CMD ["python", "app.py"] |