annabunches.net/Makefile

16 lines
350 B
Makefile
Raw Normal View History

2023-08-30 16:27:02 +00:00
DOCKER_IMAGE := cr.annabunches.net/annabunches-static
DOCKER_TAG := latest
2020-05-15 01:45:53 +00:00
.PHONY: all build push
2020-05-15 21:15:51 +00:00
all: serve
serve:
sudo docker run --rm -it -p 1313:1313 -v ${PWD}:/src/ klakegg/hugo serve -D -b http://${DEV_IP}:1313/
build:
sudo docker build --no-cache -t ${DOCKER_IMAGE}:${DOCKER_TAG} .
push:
sudo docker push ${DOCKER_IMAGE}:${DOCKER_TAG}