Improve docker build to use hooks

This commit is contained in:
Frédéric Guillot
2017-11-30 16:47:52 -08:00
parent 12202f0451
commit 55547db6ce
16 changed files with 161 additions and 20 deletions

View File

@@ -73,12 +73,6 @@ sql:
@ grep -v "SET idle_in_transaction_session_timeout = 0;" app/Schema/Sql/postgres.sql > temp && mv temp app/Schema/Sql/postgres.sql
docker-image:
@ docker build -t kanboard/kanboard:latest .
docker-push:
@ docker push kanboard/kanboard:latest
docker-run:
@ docker run -d --name kanboard -p 80:80 -t kanboard/kanboard:latest
@ IMAGE_NAME=kanboard/kanboard:latest ./hooks/build
.PHONY: all