|
SHELL = /bin/bash
|
|
.DEFAULT_GOAL := build
|
|
IMAGE_NAME = git.michaellisano.com/mcf/status-proxy:latest
|
|
|
|
build:
|
|
pipenv requirements > requirements.txt
|
|
docker build -t $(IMAGE_NAME) .
|
|
|
|
push:
|
|
docker push $(IMAGE_NAME)
|
|
|
|
run:
|
|
pipenv run hypercorn api.py -b 0.0.0.0:8080
|
|
|