Files
smartguide/preprocessing/Dockerfile
T

18 lines
487 B
Docker

# Preprocessing worker, news enrichment job (v1)
FROM python:3.13-slim
WORKDIR /app
# Install dependencies first so this layer is cached when only code changes.
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Copy the job code. No secrets here, config is read from env vars at runtime.
COPY app/ ./
# Small dispatcher that maps a job name to the right command.
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]