Initial commit

This commit is contained in:
2024-05-01 17:43:52 -04:00
commit a636f1cbd1
2 changed files with 38 additions and 0 deletions

22
dockerfile Normal file
View File

@@ -0,0 +1,22 @@
FROM debian:12
WORKDIR /rclone
ENV TZ=America/New_York
ENV CRON_JOB=/rclone/appdata/cron/cron.conf
ENV RCLONE_CONFIG=/rclone/appdata/rclone/rclone.conf
RUN apt-get update && \
apt-get install -y cron && \
apt-get install -y rclone && \
apt-get install -y procps && \
rm -rf /var/lib/apt/lists/*
RUN mkdir -p /rclone/appdata/cron && \
mkdir -p /rclone/appdata/rclone && \
mkdir -p /rclone/appdata/logs && \
mkdir -p /backupsource
COPY start.sh .
CMD ["./start.sh"]