From 5ed09aa819545cbffb28cf3c2d401a38ebd7b16e Mon Sep 17 00:00:00 2001 From: Stian Buch Larsen Date: Thu, 30 Jul 2015 18:22:56 +0200 Subject: [PATCH] Moved some stuff in dockerfile --- Dockerfile | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/Dockerfile b/Dockerfile index 7757f6d..3a7df06 100755 --- a/Dockerfile +++ b/Dockerfile @@ -14,11 +14,9 @@ RUN apt-get update RUN apt-get install -qy git mc ffmpeg python wget RUN apt-get clean && rm -rf /var/lib/apt/lists/* /var/tmp/* -#Volumes and Ports -EXPOSE 8181 -VOLUME /config -VOLUME /downloads -VOLUME /music +#Adduser +RUN useradd -u 911 -U -s /bin/false abc +RUN usermod -G users abc #Adding Custom files ADD init/ /etc/my_init.d/ @@ -27,6 +25,10 @@ ADD defaults/ /defaults RUN chmod -v +x /etc/service/*/run RUN chmod -v +x /etc/my_init.d/*.sh -#Adduser -RUN useradd -u 911 -U -s /bin/false abc -RUN usermod -G users abc +#Volumes and Ports +EXPOSE 8181 +VOLUME /config +VOLUME /downloads +VOLUME /music + +