routeros-config-export/Dockerfile

20 lines
388 B
Docker

FROM ubuntu:latest
# Install necessary packages
RUN apt-get update && \
apt-get install -y git python3 && \
pip3 install paramiko gitpython
# Copy the script into the container
COPY app.py /app/app.py
# Set the working directory
WORKDIR /app
# Make the script executable
RUN chmod +x app.py
# Set the entrypoint to execute the script
ENTRYPOINT ["/app/app.py"]
# cron fehlt