diff --git a/Dockerfile b/Dockerfile index 52abce4..96e16ab 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,19 +1,15 @@ -FROM alpine:latest -# RUN apk add supervisor +FROM alpine:edge RUN mkdir /myconfig RUN mkdir /home/nfs_download 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 - # 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"]