Spaces:
Paused
Paused
Download Browser_Agent/Dockerfile from Luca448/APP-Backend: direct link, hf CLI and curl.
- Browser
- Download file 438 Bytes
-
https://huggingface.co/spaces/Luca448/APP-Backend/resolve/main/Browser_Agent/Dockerfile
- Command line
-
hf download hf://spaces/Luca448/APP-Backend/Browser_Agent/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Luca448/APP-Backend/resolve/main/Browser_Agent/Dockerfile
438 Bytes
| FROM python:3.11-slim | |
| # Install system dependencies and Tor | |
| RUN apt-get update && apt-get install -y \ | |
| tor \ | |
| curl \ | |
| && rm -rf /var/lib/apt/lists/* | |
| WORKDIR /app | |
| # Copy project files | |
| COPY . . | |
| # Install dependencies | |
| RUN pip install --no-cache-dir -e . | |
| # Install Playwright browser (Chromium only) | |
| RUN playwright install chromium | |
| RUN playwright install-deps chromium | |
| # Expose API port | |
| EXPOSE 8765 | |
| CMD ["python", "main.py"] | |