Add Python requirements to image
This commit is contained in:
parent
4b3a88aa7e
commit
3eef893f13
1 changed files with 3 additions and 3 deletions
|
|
@ -1,5 +1,5 @@
|
||||||
FROM docker.io/library/python:3.11-alpine
|
FROM docker.io/library/python:3.11-alpine
|
||||||
|
|
||||||
RUN apk --no-cache add sshpass openssh-client lftp
|
RUN apk --no-cache add sshpass openssh-client lftp; mkdir -p /opt/app
|
||||||
|
ADD requirements.txt /opt/app/
|
||||||
|
RUN pip install -r /opt/app/requirements.txt && pip freeze
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue