Download Dockerfile from Yuvan666/Browser-Worker-Live: direct link, hf CLI and curl.
- Browser
- Download file 734 Bytes
-
https://huggingface.co/spaces/Yuvan666/Browser-Worker-Live/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Yuvan666/Browser-Worker-Live/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Yuvan666/Browser-Worker-Live/resolve/main/Dockerfile
734 Bytes
| # ALTYZEN AI Agent Worker | |
| FROM python:3.11-slim | |
| ENV DEBIAN_FRONTEND=noninteractive | |
| ENV DISPLAY=:99 | |
| WORKDIR /app | |
| COPY setup_stealth.sh /tmp/setup_stealth.sh | |
| RUN chmod +x /tmp/setup_stealth.sh && bash /tmp/setup_stealth.sh && rm /tmp/setup_stealth.sh | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir --upgrade pip && \ | |
| pip install --no-cache-dir -r requirements.txt | |
| RUN playwright install chromium --with-deps | |
| COPY supervisord.conf /etc/supervisor/conf.d/supervisord.conf | |
| COPY app.py . | |
| COPY agent.py . | |
| EXPOSE 8888 | |
| HEALTHCHECK --interval=30s --timeout=10s --start-period=120s --retries=3 \ | |
| CMD curl -f http://localhost:8888/ || exit 1 | |
| CMD ["/usr/bin/supervisord", "-c", "/etc/supervisor/conf.d/supervisord.conf"] | |