FROM python:3.13-slim-bookworm # Set the PYTHONPATH environment variable ENV PYTHONPATH=/usr/local/lib # Set the working directory WORKDIR /app # Copy only the requirements file first COPY requirements.txt requirements.txt # Install dependencies RUN pip3 install --no-cache-dir -r requirements.txt # Copy the rest of the application code COPY . . # Set the command to run your application CMD ["/bin/sh", "entrypoint.sh"]