better handling of homedir and signal delegation

This commit is contained in:
Dominique Barton
2015-12-19 20:42:33 +01:00
parent fc153d7f16
commit c231e3875f
2 changed files with 7 additions and 4 deletions
+2 -2
View File
@@ -9,7 +9,7 @@ RUN apt-get -q update \
&& rm -rf /tmp/*
RUN groupadd -r -g 666 couchpotato \
&& useradd -r -u 666 -g 666 couchpotato
&& useradd -r -u 666 -g 666 -d /couchpotato couchpotato
RUN git clone https://github.com/RuudBurger/CouchPotatoServer.git /couchpotato \
&& chown -R couchpotato: /couchpotato
@@ -25,4 +25,4 @@ EXPOSE 8080
USER couchpotato
WORKDIR /couchpotato
CMD /start.sh
CMD ["/start.sh"]