Add /apps setup and spec out more targets
This commit is contained in:
11
Makefile
11
Makefile
@ -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
|
||||
|
Reference in New Issue
Block a user