17 lines
229 B
Makefile
17 lines
229 B
Makefile
|
|
IMAGE ?= gea.i80.dk/hjess/citti
|
||
|
|
TAG ?= latest
|
||
|
|
|
||
|
|
.PHONY: run install build push
|
||
|
|
|
||
|
|
run:
|
||
|
|
python app.py
|
||
|
|
|
||
|
|
install:
|
||
|
|
pip install -r requirements.txt
|
||
|
|
|
||
|
|
build:
|
||
|
|
docker build -t $(IMAGE):$(TAG) .
|
||
|
|
|
||
|
|
push: build
|
||
|
|
docker push $(IMAGE):$(TAG)
|