Add /apps setup and spec out more targets

This commit is contained in:
Luke Murphy
2020-06-30 20:35:01 +02:00
parent 5852a3649f
commit ad1d46cc2c
4 changed files with 19 additions and 8 deletions

View File

@ -1,10 +1,13 @@
build:
python-run:
@python magic_app/app.py
docker-build:
@docker build -t autonomic/magicapp .
run:
docker-run:
@docker run --rm -p 5000:5000 autonomic/magicapp
publish:
docker-publish:
@docker push autonomic/magicapp:v0.1.0
.PHONY: build run
.PHONY: python-run docker-build docker-run docker-publish