This commit is contained in:
Michael Grote 2023-07-21 18:15:59 +02:00
parent cdd8eb8044
commit 085488819d

View file

@ -1,9 +1,13 @@
FROM ubuntu:latest FROM ubuntu:latest
# deaktiviert Nachfragen beim installieren von Paketen
ENV DEBIAN_FRONTEND=noninteractive
# Install necessary packages # Install necessary packages
RUN apt-get update && \ RUN apt-get update && \
apt-get install -y git python3 && \ apt-get -y --no-install-recommends install git python3 python3-pip && \
pip3 install paramiko gitpython pip install --no-cache-dir paramiko gitpython
# Copy the script into the container # Copy the script into the container
COPY app.py /app/app.py COPY app.py /app/app.py