FROM amd64/python:3.7.17-bookworm WORKDIR /usr/src/app COPY requirements.txt ./ RUN apt update RUN apt install -y zip RUN mkdir -p ./python RUN pip install --no-cache-dir -r requirements.txt -t python/ RUN zip -r python_layer.zip python # ENTRYPOINT ["tail", "-f", "/dev/null"]