Added start script

This commit is contained in:
Jonathan Ervine
2020-07-15 20:38:13 +08:00
parent 418bed735b
commit 1b896c4785
2 changed files with 10 additions and 1 deletions
+4 -1
View File
@@ -28,8 +28,11 @@ RUN git clone https://github.com/barbequesauce/watcher3 && \
adduser -D -u $HTPC_UID -G $HTPC_GROUP -H $HTPC_USER && \
chown -R $HTPC_USER:$HTPC_GROUP /watcher3
ADD start.sh /usr/local/bin/start.sh
RUN chmod 755 /usr/local/bin/start.sh
EXPOSE 9090
USER $HTPC_USER
CMD [ "/usr/bin/python3", "/watcher3/watcher.py", "--userdata=/config/" ]
CMD [ "/usr/local/bin/start.sh" ]