Update 'Dockerfile'

debian
yeti 3 years ago
parent b5ea52f653
commit 2bce665ab6

@ -1,10 +1,10 @@
# Snapraid 12.0 # Snapraid 12.0
FROM debian:bullseye FROM debian:bullseye
RUN apt update && apt upgrade && \ RUN apt update && apt upgrade
apt install python3 git snapraid smartmontools tzdata && \ RUN apt install python3 git snapraid smartmontools tzdata
git clone https://github.com/Chronial/snapraid-runner.git /app/snapraid-runner && \ RUN git clone https://github.com/Chronial/snapraid-runner.git /app/snapraid-runner
chmod +x /app/snapraid-runner/snapraid-runner.py RUN chmod +x /app/snapraid-runner/snapraid-runner.py
RUN echo '0 3 * * * /usr/bin/python3 /app/snapraid-runner/snapraid-runner.py -c /config/snapraid-runner.conf' > /etc/crontabs/root RUN echo '0 3 * * * /usr/bin/python3 /app/snapraid-runner/snapraid-runner.py -c /config/snapraid-runner.conf' > /etc/crontabs/root

Loading…
Cancel
Save