FROM python:3.11-slim # Set working directory WORKDIR /app # Copy requirement list and install COPY requirements.txt . RUN pip install --no-cache-dir -r requirements.txt # Copy all other files (including inference.py) COPY . . # Run the inference script directly CMD ["python", "inference.py"]