Download Dockerfile from pjpjq/robin: direct link, hf CLI and curl.
- Browser
- Download file 501 Bytes
-
https://huggingface.co/spaces/pjpjq/robin/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/pjpjq/robin/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/pjpjq/robin/resolve/main/Dockerfile
501 Bytes
| FROM python:3.10-slim AS builder | |
| RUN DEBIAN_FRONTEND="noninteractive" apt-get update && \ | |
| apt-get install -y --no-install-recommends \ | |
| tor \ | |
| build-essential \ | |
| curl \ | |
| libssl-dev \ | |
| libffi-dev && \ | |
| rm -rf /var/lib/apt/lists/* | |
| WORKDIR /app | |
| COPY requirements.txt . | |
| RUN pip install --upgrade pip && \ | |
| pip install -r requirements.txt | |
| COPY . . | |
| RUN chmod +x /app/entrypoint.sh | |
| ENV PORT=7860 | |
| EXPOSE 7860 | |
| ENTRYPOINT ["/app/entrypoint.sh"] | |
| CMD [] | |