13 lines
335 B
Makefile
13 lines
335 B
Makefile
DOKKU_URL := dokku@dev.lookingfora.name:guesstimate
|
|
|
|
dokku-build:
|
|
docker build \
|
|
-t guesstimate-dokku:latest \
|
|
.
|
|
|
|
dokku-run:
|
|
docker run -it --rm -p 8080:80 guesstimate-dokku:latest
|
|
|
|
dokku-deploy:
|
|
$(if $(shell git config remote.dokku.url),, git remote add dokku $(DOKKU_URL))
|
|
git push -f dokku $(shell git rev-parse HEAD):master
|