16 lines
356 B
Docker
16 lines
356 B
Docker
FROM python:3.13-slim
|
|
|
|
WORKDIR /app
|
|
|
|
RUN apt-get update && apt-get install -y --no-install-recommends \
|
|
curl \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
COPY requirements.txt .
|
|
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
|
COPY . .
|
|
|
|
# Default to scraper, but can be overridden in docker-compose
|
|
ENTRYPOINT ["python", "-u", "attractions_api_logger.py"]
|