FROM node:7-alpine COPY . /usr/src/git-ssb-web WORKDIR /usr/src/git-ssb-web RUN apk add --no-cache --virtual .build-deps-sbot python make g++ libtool m4 automake autoconf \ && npm install \ && apk del .build-deps-sbot CMD npm start # used like this: # docker run -d --restart=unless-stopped \ # --net=ssbnet --net-alias=gsw3 \ # -v /srv/docker/ta-ssb:/root/.ssb \ # shares an sbot for the /secret # -e ssb_appname=ssb \ # quirk in server.js # git-ssb-web \ # npm start -- --public --host pub.ssbnet --git-ssb-web.host 0.0.0.0 # enable wildcard listen and which sbot db to connect to