update Dockerfile
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
FROM node:current-alpine
|
FROM node:current-alpine
|
||||||
|
|
||||||
RUN apk add git
|
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 && 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 && git config pull.ff only
|
||||||
RUN cd /opt/minisrv/zefie_wtvp_minisrv && npm install
|
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
|
WORKDIR /opt/minisrv/zefie_wtvp_minisrv
|
||||||
CMD ./run.sh
|
CMD ./run.sh
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user