mirror of
https://github.com/hendricius/the-sourdough-framework
synced 2025-11-09 04:31:11 -06:00
Fixed no such file error when running docker via sudo (#88)
Co-authored-by: Ben <ben@st2projects.com>
This commit is contained in:
4
makefile
4
makefile
@@ -1,10 +1,10 @@
|
||||
.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"
|
||||
docker run -it -v .:/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 release"
|
||||
docker run -it -v .:/opt/repo the-sourdough-framework /bin/bash -c "cd /opt/repo/book && make release"
|
||||
|
||||
.PHONY: build_docker_image
|
||||
build_docker_image:
|
||||
|
||||
Reference in New Issue
Block a user