2d29c510dc
This has been working really well on Nomad and hashicorp.com, so I am ready to port it out to Consul as a beta. This moves the local development to a Docker container, which is the same container that we use to publish the website in production. The result is much faster and more consistent deploys.
15 lines
275 B
Makefile
15 lines
275 B
Makefile
VERSION?="0.3.4"
|
|
|
|
website:
|
|
@echo "==> Starting website in Docker..."
|
|
@docker run \
|
|
--interactive \
|
|
--rm \
|
|
--tty \
|
|
--publish "4567:4567" \
|
|
--publish "35729:35729" \
|
|
--volume "$(shell pwd):/website" \
|
|
hashicorp/middleman-hashicorp:${VERSION}
|
|
|
|
.PHONY: website
|