Skip to content

Commit

Permalink
Docker how-to
Browse files Browse the repository at this point in the history
  • Loading branch information
entorb authored and rrthomas committed Jan 24, 2024
1 parent b658132 commit 9ea7dea
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ CMD latexmk hpmor ; ./scripts/make_ebooks.sh

# run specific command or script
# docker run -it --mount type=bind,src="$(pwd)",dst=/app hpmor latexmk hpmor-1
# docker run -it --mount type=bind,src="$(pwd)",dst=/app hpmor ./scripts/make_ebooks.sh

# login via
# docker run -it --mount type=bind,src="$(pwd)",dst=/app hpmor bash
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ of the chapters.

## Building the book(s)

If you do not want to install all requirements on your native system, you can run the build in a Docker container instead. See bottom of [Dockerfile](Dockerfile) for further info.

* `latexmk`: Build all PDFs. (If in doubt, just run this command and do
something else for twenty minutes!)
* `make all`: Build a Zip of the PDFs.
Expand Down

0 comments on commit 9ea7dea

Please sign in to comment.