update Dockerfile to use official node sources
This commit is contained in:
@@ -1,7 +1,8 @@
|
|||||||
FROM alpine:latest
|
FROM node:current-alpine
|
||||||
|
|
||||||
RUN apk add git nodejs npm
|
RUN apk add git
|
||||||
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/zefie_wtvp_minisrv && npm install
|
RUN cd /opt/minisrv/zefie_wtvp_minisrv && npm install
|
||||||
|
|
||||||
COPY ./run.sh /opt/minisrv/zefie_wtvp_minisrv/run.sh
|
COPY ./run.sh /opt/minisrv/zefie_wtvp_minisrv/run.sh
|
||||||
|
|||||||
Reference in New Issue
Block a user