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