Efertone 11 months ago
commit
393011f089
Signed by: efertone GPG Key ID: 58E2D23885002DC5
  1. 16
      Dockerfile

16
Dockerfile

@ -0,0 +1,16 @@
from node:10
run npm install -g ssb-server
volume /root/.ssb
expose 8000
healthcheck --interval=30s \
--timeout=30s \
--start-period=10s \
--retries=10 \
CMD ssb-server whoami || exit 1
env HEALING_ACTION RESTART
entrypoint [ "/usr/local/bin/ssb-server" ]
cmd [ "start" ]
Loading…
Cancel
Save