Files: 8d666a4056d3ffe1c53548ccbadbf97243749b35 / Dockerfile
674 bytesRaw
1 | FROM node:7-alpine |
2 | |
3 | COPY . /usr/src/git-ssb-web |
4 | WORKDIR /usr/src/git-ssb-web |
5 | |
6 | RUN apk add --no-cache --virtual .build-deps-sbot python make g++ libtool m4 automake autoconf \ |
7 | && npm install \ |
8 | && apk del .build-deps-sbot |
9 | |
10 | CMD npm start |
11 | |
12 | |
13 | # used like this: |
14 | # docker run -d --restart=unless-stopped \ |
15 | # --net=ssbnet --net-alias=gsw3 \ |
16 | # -v /srv/docker/ta-ssb:/root/.ssb \ # shares an sbot for the /secret |
17 | # -e ssb_appname=ssb \ # quirk in server.js |
18 | # git-ssb-web \ |
19 | # npm start -- --public --host pub.ssbnet --git-ssb-web.host 0.0.0.0 # enable wildcard listen and which sbot db to connect to |
20 | |
21 |
Built with git-ssb-web