git ssb

1+

dinoworm ๐Ÿ› / ssb-pub



Tree: 2ec1b5654a683d6e4b0e50bc34f60198d52881b4

Files: 2ec1b5654a683d6e4b0e50bc34f60198d52881b4 / Dockerfile

487 bytesRaw
1FROM node:8
2
3MAINTAINER Michael Williams <michael.williams@enspiral.com>
4
5USER root
6RUN mkdir /home/node/.npm-global ; \
7 mkdir -p /home/node/ssb-pub ; \
8 chown -R node:node /home/node/
9ENV PATH=/home/node/.npm-global/bin:$PATH
10ENV NPM_CONFIG_PREFIX=/home/node/.npm-global
11
12WORKDIR /home/node/ssb-pub
13ADD ./run.sh .
14RUN chmod +x ./run.sh
15RUN chown -R node:node /home/node/ssb-pub
16
17USER node
18RUN npm install -g scuttlebot@10.4.4
19
20EXPOSE 8008
21
22ENTRYPOINT [ "sbot" ]
23CMD [ "server" ]
24

Built with git-ssb-web