Spaces:
Runtime error
Runtime error
File size: 650 Bytes
b25bb1f 80de091 b25bb1f 80de091 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 |
FROM python:3.11-slim
# Install system dependencies required by Chromium
RUN apt-get update && apt-get install -y \
libatk-bridge2.0-0 \
libatk1.0-0 \
libcups2 \
libdrm2 \
libxkbcommon0 \
libxcomposite1 \
libxdamage1 \
libxrandr2 \
libgbm1 \
libasound2 \
libnss3 \
libxshmfence1 \
libxfixes3 \
wget \
ca-certificates \
fonts-liberation \
&& rm -rf /var/lib/apt/lists/*
# Install Python dependencies
RUN pip install --no-cache-dir playwright pandas
# Install Playwright Chromium
RUN playwright install chromium
WORKDIR /app
COPY . /app
CMD ["python", "shoalhaven_da_scraper.py"] |