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