Spaces:
Runtime error
Runtime error
File size: 440 Bytes
a7fb098 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | FROM python:3.12-slim
RUN apt-get update && apt-get install -y \
libnss3 libnspr4 libatk1.0-0 libatk-bridge2.0-0 libcups2 libdrm2 \
libxkbcommon0 libxcomposite1 libxdamage1 libxfixes3 libxrandr2 libgbm1 libasound2 \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
RUN python -m playwright install --with-deps chromium
COPY . .
CMD ["python", "agent.py"]
|