Skip to content

Instantly share code, notes, and snippets.

@ibnesayeed
Created August 15, 2018 04:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ibnesayeed/74c1e1d6393fa37a75625f5a518d9a8e to your computer and use it in GitHub Desktop.
Save ibnesayeed/74c1e1d6393fa37a75625f5a518d9a8e to your computer and use it in GitHub Desktop.
Piping in Dockerfile CMD for IPWB
FROM oduwsdl/ipwb
CMD ipfs daemon & while ! curl -s localhost:5001 > /dev/null; do sleep 1; done && ipwb index ipwb/samples/warcs/5mementos.warc | ipwb replay
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment