With Docker Compose:
# Site:
$ docker-compose run --rm foliant make site
# PDF:
$ docker-compose run --rm foliant make pdf
With pip and stuff (requires Python 3.6+, Pandoc, and TeXLive):
$ pip install -r requirements.txt
# Site:
$ foliant make site
# PDF:
$ foliant make pdf