Files
docker-rtorrent/Dockerfile
T
Ketan Patel 4ac29238fe
Build and Push Docker Image / build (push) Successful in 45s
Use Alpine 3.24 stable base image
2026-09-30 20:59:36 -04:00

16 lines
338 B
Docker

FROM alpine:3.24
RUN mkdir /myconfig
RUN mkdir /home/nfs_download
RUN mkdir /root || true
# create file and ignore if it fails
RUN touch /root/.rtorrent.rc || true
COPY install/rtorrent.sh /rtorrent.sh
RUN apk add --no-cache bash rtorrent curl libcurl ncurses
VOLUME ["/home/nfs_download"]
EXPOSE 5001/tcp
ENTRYPOINT ["/rtorrent.sh"]