Skip to content

Commit e21bbe1

Browse files
committed
Fix the docker instructions
1 parent 04c5ef3 commit e21bbe1

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

README.adoc

+8-1
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,16 @@ inside a Docker container like this:
4949

5050
[source]
5151
----
52-
$ docker run --rm -t -v $(pwd):/build/site antora/antora:3.1.10 --fetch /docs/antora-playbook.yml
52+
$ cd docs.cider.mx
53+
$ docker run -u $(id -u) -v $PWD:/antora:Z --rm -t antora/antora --cache-dir=./.cache/antora antora-playbook.yml
5354
----
5455

56+
Note that despite the message saying `Open file:///antora/build/site/index.html in a browser to view your site.`, you
57+
you should actually look for `build/site/index.html` in the current directory. (that's because we've mounted the
58+
current directory as `/antora` in the container)
59+
60+
TIP: You can read more about running Antora in a container in the https://docs.antora.org/antora/latest/antora-container/[official docs].
61+
5562
== Updating the Playbook
5663

5764
When cutting new releases you'll have to updated `antora-playbook.yml` to mention

0 commit comments

Comments
 (0)