update Dockerfile

This commit is contained in:
zefie
2021-08-08 23:40:14 -04:00
parent a426a36a24
commit 3a6a47124a

View File

@@ -1,6 +1,7 @@
FROM node:current-alpine
RUN apk add git
RUN npm install -g npm@latest 2>/dev/null > /dev/null
RUN cd /opt && git clone --depth=1 https://github.com/zefie/zefie_wtvp_minisrv.git minisrv
RUN cd /opt/minisrv && git config pull.ff only
RUN cd /opt/minisrv/zefie_wtvp_minisrv && npm install
@@ -10,3 +11,4 @@ RUN chmod +x /opt/minisrv/zefie_wtvp_minisrv/run.sh
WORKDIR /opt/minisrv/zefie_wtvp_minisrv
CMD ./run.sh