mirror of
https://github.com/hendricius/the-sourdough-framework
synced 2025-11-10 13:11:13 -06:00
This adds a Dockerfile to run the project. All you need to do now is run `make` in the root folder and the pdf will be built.
12 lines
422 B
Makefile
12 lines
422 B
Makefile
.PHONY: build_book
|
|
build_book: build_docker_image
|
|
docker run -it -v $(PWD):/opt/repo the-sourdough-framework /bin/bash -c "cd /opt/repo/book && make build_pdf"
|
|
|
|
.PHONY: release
|
|
release: build_docker_image
|
|
docker run -it -v $(PWD):/opt/repo the-sourdough-framework /bin/bash -c "cd /opt/repo/book && make build_pdf"
|
|
|
|
.PHONY: build_docker_image
|
|
build_docker_image:
|
|
docker build -t the-sourdough-framework -f Dockerfile .
|