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.
16 lines
367 B
16 lines
367 B
FROM python:3.12-slim
|
|
WORKDIR /app
|
|
|
|
RUN apt-get update && apt-get install -y \
|
|
build-essential \
|
|
libxml2-dev \
|
|
libxslt1-dev \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
COPY requirements.scraper.txt /app/requirements.scraper.txt
|
|
RUN pip install --no-cache-dir -r /app/requirements.scraper.txt
|
|
|
|
COPY . /app
|
|
|
|
CMD ["python3", "-c", "print('scraper worker ready')"]
|