Run make build only once

This commit is contained in:
Luke Murphy 2020-04-23 13:37:36 +02:00
parent 06e53cd9bc
commit 9b7b8e289d
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
2 changed files with 2 additions and 1 deletions

View File

@ -30,6 +30,7 @@ $ CHANNEL=stable sh get-docker.sh
Fire up the container with the following.
```bash
$ make build # only the first time or when changing container
$ make serve
```

View File

@ -11,7 +11,7 @@ stop:
@docker stop $(NAME) && docker rm $(NAME) --force
.PHONY: stop
serve: build
serve:
@docker run \
--name $(NAME) \
-e JEKYLL_PORT=$(PORT) \