Download Dockerfile from dbenham/temp1: direct link, hf CLI and curl.
- Browser
- Download file 428 Bytes
-
https://huggingface.co/spaces/dbenham/temp1/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/dbenham/temp1/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/dbenham/temp1/resolve/main/Dockerfile
428 Bytes
| FROM python:3.11-slim | |
| WORKDIR /app | |
| # Install supervisord to manage two processes | |
| RUN apt-get update && apt-get install -y supervisor && rm -rf /var/lib/apt/lists/* | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY . . | |
| # supervisord config | |
| COPY supervisord.conf /etc/supervisor/conf.d/supervisord.conf | |
| EXPOSE 7860 | |
| CMD ["/usr/bin/supervisord", "-c", "/etc/supervisor/conf.d/supervisord.conf"] | |