Fix example in Dockerfile. The source for a mount must be absolute.

This commit is contained in:
Martin M. S. Pedersen 2020-05-15 10:01:35 +02:00
parent 737c5c3f2f
commit 60c6adf7f5

View file

@ -3,8 +3,8 @@
# - ArchiveBox
# Usage:
# docker build github.com/pirate/ArchiveBox -t archivebox
# echo 'https://example.com' | docker run -i --mount type=bind,source=./data,target=/data archivebox /bin/archive
# docker run --mount type=bind,source=./data,target=/data archivebox /bin/archive 'https://example.com/some/rss/feed.xml'
# echo 'https://example.com' | docker run -i --mount type=bind,source=$PWD/data,target=/data archivebox /bin/archive
# docker run --mount type=bind,source=$PWD/data,target=/data archivebox /bin/archive 'https://example.com/some/rss/feed.xml'
# Documentation:
# https://github.com/pirate/ArchiveBox/wiki/Docker#docker