FROM python:3.12-slim # Everything will be done in /app (Not in the main OS Image) WORKDIR /app COPY . . RUN pip install --no-cache-dir -r requirements.txt RUN chmod +x /entrypoint.sh ENTRYPOINT ["/entrypoint.sh"] CMD []