diff --git a/Dockerfile b/Dockerfile index 02dd608..5d8b8a8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,18 +1,20 @@ FROM ubuntu:latest # Install necessary packages -RUN apt-get update && apt-get install -y openssh-client git +RUN apt-get update && \ + apt-get install -y git python3 && \ + pip3 install paramiko gitpython # Copy the script into the container -COPY app.sh /app/app.sh +COPY app.py /app/app.py # Set the working directory WORKDIR /app # Make the script executable -RUN chmod +x app.sh +RUN chmod +x app.py # Set the entrypoint to execute the script -ENTRYPOINT ["/app/app.sh"] +ENTRYPOINT ["/app/app.py"] # cron fehlt