You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

16 lines
327 B

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" ]