Improve docker build to use hooks
This commit is contained in:
8
Makefile
8
Makefile
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user