git ssb

30+

cel / git-ssb-web



Tree: 8d666a4056d3ffe1c53548ccbadbf97243749b35

Files: 8d666a4056d3ffe1c53548ccbadbf97243749b35 / Dockerfile

674 bytesRaw
1FROM node:7-alpine
2
3COPY . /usr/src/git-ssb-web
4WORKDIR /usr/src/git-ssb-web
5
6RUN 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
10CMD 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