From 3eef893f131bf43e08a2bce0e5c8d3c89ae376eb Mon Sep 17 00:00:00 2001 From: Frank Agerholm Date: Tue, 11 Jul 2023 15:30:28 +0000 Subject: [PATCH] Add Python requirements to image --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 130e6cb..332a237 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ 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