From d4f90c619b87ede8049ebac33954f4b5963450d5 Mon Sep 17 00:00:00 2001 From: Ketan Patel Date: Fri, 1 Aug 2025 17:43:23 -0400 Subject: [PATCH] Cleaning up --- Dockerfile | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/Dockerfile b/Dockerfile index be22238..52abce4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,26 +3,17 @@ FROM alpine:latest RUN mkdir /myconfig RUN mkdir /home/nfs_download -RUN mkdir /root +RUN mkdir /root || true RUN apk add --no-cache bash RUN apk add --no-cache rtorrent RUN apk add --no-cache libcurl RUN apk add --no-cache curl -# Removed: COPY config/rtorrent.rc /root/.rtorrent.rc -# This file will now be mounted as a volume during container runtime. -# COPY config/rtorrent.rc /root/.rtorrent.rc - # 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 VOLUME ["/home/nfs_download"] EXPOSE 5001/tcp -# ENTRYPOINT ["supervisord", "--nodaemon", "-c", "/etc/supervisor/supervisord.conf"] -# ENTRYPOINT ["rtorrent"] -ENTRYPOINT ["/rtorrent.sh"] \ No newline at end of file +ENTRYPOINT ["/rtorrent.sh"]