FROM python:3.11.7-slim-bookworm WORKDIR /opt/musician # reduce size (python specifics) -> src https://stackoverflow.com/questions/74616667/removing-pip-cache-after-installing-dependencies-in-docker-image ENV PYTHONDONTWRITEBYTECODE=1 # here document in dockerfile src https://stackoverflow.com/questions/40359282/launch-a-cat-command-unix-into-dockerfile RUN cat > /etc/pip.conf <