# Auto-generated Dockerfile for Python package
FROM python:3.12-slim

WORKDIR /app



# Always keep basic python packaging tools fresh to avoid CVEs even in old python versions
RUN pip install --upgrade pip wheel setuptools

# Install dependencies to leverage Docker cache
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt

# Copy package source
COPY . /app

# Set Python path
ENV PYTHONPATH=/app

# Default command (will be overridden by entrypoint)
CMD ["bash"]
