From 2f923ee5419affe91d1f6ae256d6606b0ba96ada Mon Sep 17 00:00:00 2001 From: Ketan Patel Date: Fri, 1 Aug 2025 16:36:44 -0400 Subject: [PATCH] Failing to mount the rc file --- Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 3dbd5f0..e60d24b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,7 +12,10 @@ RUN mkdir /home/nfs_download # This file will now be mounted as a volume during container runtime. # COPY config/rtorrent.rc /root/.rtorrent.rc -RUN chown root:root /root/.rtorrent.rc || true # Ensure this doesn't fail if file isn't there yet +# create file and ignore if it fails +RUN touch /root/.rtorrent.rc || true +# change ownership, ignore if it fails +RUN chown root:root /root/.rtorrent.rc || true COPY install/rtorrent.sh /rtorrent.sh # COPY config/supervisord.conf /etc/supervisor/supervisord.conf