Created
August 15, 2018 15:05
-
-
Save ibnesayeed/8af586013e8c2f2898453119b4601959 to your computer and use it in GitHub Desktop.
Piping in Dockerfile CMD for IPWB with customizable WARC file using an environment variable
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM oduwsdl/ipwb | |
ENV WARC=ipwb/samples/warcs/5mementos.warc | |
CMD ipfs daemon & while ! curl -s localhost:5001 > /dev/null; do sleep 1; done && ipwb index $WARC | ipwb replay |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment