Create a zip file necessary as a AWS Layer for Python
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
python_aws_layer/Dockerfile

13 lines
267 B

12 months ago
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
12 months ago
RUN pwd
12 months ago
RUN pip install -r requirements.txt -t python/
12 months ago
RUN zip -r python.zip python
12 months ago
# ENTRYPOINT ["tail", "-f", "/dev/null"]