2020-04-20 12:36:47 +02:00
|
|
|
DOKKU_URL := dokku@dev.lookingfora.name:guesstimate
|
|
|
|
|
2020-04-20 12:24:17 +02:00
|
|
|
dokku-build:
|
|
|
|
docker build \
|
|
|
|
-t guesstimate-dokku:latest \
|
|
|
|
.
|
|
|
|
|
|
|
|
dokku-run:
|
2020-04-20 12:36:47 +02:00
|
|
|
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
|