FROM python:3.12.1 # Set the working directory WORKDIR /app # Copy the requirements file COPY requirements.txt . # Install the dependencies RUN pip install --no-cache-dir -r requirements.txt # Copy the source code and data COPY src/ src/ COPY data/ data/ # Set the entry point command CMD ["python", "src/main.py"]