Files
the-sourdough-framework/makefile
Hendrik Kleinwaechter 37f845429b Add Dockerfile
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.
2023-03-02 17:22:30 -05:00

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 .