APP-Backend / Browser_Agent /Dockerfile
Luca448's picture
Savestate: Fix Dockerfile and add Browser_Agent for HF build, bump version to 1.8.334
508316a
Raw History Blame Contribute Delete
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"]