v0.9.11
- added example docker-compose for minisrv + webone - update: wtv-home:/home: reduce size of title to fit longer version numbers
This commit is contained in:
11
docker-compose/minisrv/Dockerfile
Normal file
11
docker-compose/minisrv/Dockerfile
Normal file
@@ -0,0 +1,11 @@
|
||||
FROM alpine:latest
|
||||
|
||||
RUN apk add git nodejs npm
|
||||
RUN cd /opt && git clone --depth=1 https://github.com/zefie/zefie_wtvp_minisrv.git minisrv
|
||||
RUN cd /opt/minisrv/zefie_wtvp_minisrv && npm install
|
||||
|
||||
COPY ./run.sh /opt/minisrv/zefie_wtvp_minisrv/run.sh
|
||||
RUN chmod +x /opt/minisrv/zefie_wtvp_minisrv/run.sh
|
||||
|
||||
WORKDIR /opt/minisrv/zefie_wtvp_minisrv
|
||||
CMD ./run.sh
|
||||
3
docker-compose/minisrv/run.sh
Normal file
3
docker-compose/minisrv/run.sh
Normal file
@@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
git pull
|
||||
node app.js
|
||||
Reference in New Issue
Block a user