git ssb

1+

dinoworm ๐Ÿ› / ssb-pub



Tree: d63069c49df59de43bb9551cb79e4756d3015561

Files: d63069c49df59de43bb9551cb79e4756d3015561 / Dockerfile

502 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/.npm-global
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 [ "./run.sh" ]
23CMD [ "server" ]
24

Built with git-ssb-web