You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
378 B
18 lines
378 B
# docker/Dockerfile.scraper
|
|
FROM python:3.11-slim
|
|
|
|
WORKDIR /app
|
|
|
|
# Scraper-specific system dependencies
|
|
RUN apt-get update && apt-get install -y --no-install-recommends \
|
|
libjpeg62-turbo-dev \
|
|
zlib1g-dev \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
COPY requirements.txt .
|
|
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
|
COPY . .
|
|
|
|
CMD ["python", "worker/scrape_worker.py"]
|