From 085488819d99d280df595ef7f3ce6d90d014ae45 Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Fri, 21 Jul 2023 18:15:59 +0200 Subject: [PATCH] fix --- Dockerfile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 5d8b8a8..a632846 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,9 +1,13 @@ FROM ubuntu:latest +# deaktiviert Nachfragen beim installieren von Paketen +ENV DEBIAN_FRONTEND=noninteractive + + # Install necessary packages RUN apt-get update && \ - apt-get install -y git python3 && \ - pip3 install paramiko gitpython + apt-get -y --no-install-recommends install git python3 python3-pip && \ + pip install --no-cache-dir paramiko gitpython # Copy the script into the container COPY app.py /app/app.py