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