Download Dockerfile from KAIsau22/rdp: direct link, hf CLI and curl.
- Browser
- Download file 419 Bytes
-
https://huggingface.co/spaces/KAIsau22/rdp/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/KAIsau22/rdp/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/KAIsau22/rdp/resolve/main/Dockerfile
419 Bytes
| FROM mcr.microsoft.com/playwright/python:v1.59.0-jammy | |
| WORKDIR /app | |
| # Install dependencies | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Copy worker and setup | |
| COPY worker.py . | |
| COPY hf_runner.py . | |
| # Environment Variables | |
| ENV REDIS_HOST=18.188.157.122 | |
| ENV REDIS_PORT=6379 | |
| ENV API_URL=http://18.188.157.122:8000 | |
| # Hugging Face needs port 7860 | |
| EXPOSE 7860 | |
| CMD ["python", "hf_runner.py"] | |