Spaces:
Paused
Paused
Download Dockerfile from MB-IDK/Rotating-Proxy: direct link, hf CLI and curl.
- Browser
- Download file 436 Bytes
-
https://huggingface.co/spaces/MB-IDK/Rotating-Proxy/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/MB-IDK/Rotating-Proxy/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/MB-IDK/Rotating-Proxy/resolve/main/Dockerfile
436 Bytes
| FROM python:3.11-slim | |
| ENV PYTHONUNBUFFERED=1 | |
| ENV PORT=7860 | |
| WORKDIR /app | |
| # Installer curl (OBLIGATOIRE) | |
| RUN apt-get update \ | |
| && apt-get install -y --no-install-recommends curl \ | |
| && rm -rf /var/lib/apt/lists/* | |
| # Dépendances Python | |
| RUN pip install --no-cache-dir rotating-mitmproxy flask requests | |
| COPY start.sh /app/start.sh | |
| COPY health.py /app/health.py | |
| RUN chmod +x /app/start.sh | |
| EXPOSE 7860 | |
| EXPOSE 3129 | |
| CMD ["/app/start.sh"] | |