Dokku deployment recipe
This commit is contained in:
parent
8698dec2bf
commit
3ebb707fd3
8
Makefile
8
Makefile
|
@ -1,7 +1,13 @@
|
|||
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
|
||||
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
|
|
@ -1 +1 @@
|
|||
/ "guesstimate"
|
||||
/ guesstimate
|
||||
|
|
Loading…
Reference in New Issue