1
0

Dockerfile 590 B

12345678910111213141516171819202122
  1. # Dockerfile for ingestion service
  2. FROM python:3.11-slim
  3. # Install system dependencies
  4. RUN apt-get update && apt-get install -y --no-install-recommends \
  5. build-essential \
  6. default-libmysqlclient-dev \
  7. && rm -rf /var/lib/apt/lists/*
  8. # Set working directory
  9. WORKDIR /app
  10. # Copy requirements (if any) – using existing requirements.txt
  11. COPY requirements.txt ./
  12. RUN pip install --no-cache-dir -r requirements.txt
  13. # Copy ingestion script and any helpers
  14. COPY ingest_csv.py ./
  15. COPY myloginpath.py ./
  16. # Entry point (will be overridden by K8s job)
  17. CMD ["python", "ingest_csv.py"]