2023-06-21 01:50:08 -07:00
|
|
|
SHELL = /bin/bash
|
|
|
|
.DEFAULT_GOAL := build
|
2023-06-21 02:11:14 -07:00
|
|
|
IMAGE_NAME = git.michaellisano.com/mcf/status-proxy:latest
|
2023-06-21 01:50:08 -07:00
|
|
|
|
|
|
|
build:
|
|
|
|
pipenv requirements > requirements.txt
|
|
|
|
docker build -t $(IMAGE_NAME) .
|
|
|
|
|
|
|
|
push:
|
|
|
|
docker push $(IMAGE_NAME)
|
2023-06-21 02:11:14 -07:00
|
|
|
|
|
|
|
run:
|
|
|
|
pipenv run hypercorn api.py -b 0.0.0.0:8080
|
|
|
|
|