Add 'make shell' command

This commit is contained in:
2025-11-25 15:21:10 -08:00
parent 55356c7433
commit 5787bc4e02
3 changed files with 7 additions and 1 deletions

View File

@@ -5,6 +5,9 @@ serve:
docker run --rm -it --init -v $(PWD):/opt/app -p 8080:80 $(image) \
sh -c "openresty -p /opt/app -g 'daemon off;' -c conf/dev.nginx.conf"
shell:
docker run --rm -it --init -v $(PWD):/opt/app -p 8080:80 $(image) bash
build:
$(if $(file), $(docker-run) sitegen build $(file), $(docker-run) sitegen)