0.14.1 initial dayglo
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
FROM ghcr.io/blakeblackshear/frigate:stable
|
||||
|
||||
# Install rsync
|
||||
RUN apt-get update && apt-get install -y rsync cron
|
||||
|
||||
# Add your sync script
|
||||
COPY sync_recordings.sh /usr/local/bin/
|
||||
RUN chmod +x /usr/local/bin/sync_recordings.sh
|
||||
|
||||
# Add crontab file
|
||||
COPY crontab /etc/cron.d/sync-cron
|
||||
RUN chmod 0644 /etc/cron.d/sync-cron
|
||||
RUN crontab /etc/cron.d/sync-cron
|
||||
|
||||
# Run cron in the foreground
|
||||
CMD ["cron", "-f"]
|
||||
Reference in New Issue
Block a user