KISS/Makefile

26 lines
675 B
Makefile
Raw Normal View History

2022-11-17 02:52:37 +00:00
shell:
/bin/bash
setup_dev:
pip3 install -e .
run_prod: setup_dev
PYTHONUNBUFFERED=TRUE \
gunicorn "kiss:create_app()" --bind 0.0.0.0:5000 --threads=100
run_dev: setup_dev
PYTHONUNBUFFERED=TRUE \
gunicorn --reload "kiss:create_app()" --bind 0.0.0.0:5000 --threads=100
docker_build_release_beta:
docker buildx build \
--platform linux/amd64,linux/arm64 \
-t quay.va.reichard.io/evan/kiss:beta --push .
docker_build_release_latest:
docker buildx build \
--platform linux/amd64,linux/arm64 \
-t quay.va.reichard.io/evan/kiss:latest --push .
# docker buildx imagetools create quay.va.reichard.io/evan/kiss:latest --tag quay.va.reichard.io/evan/kiss:0.0.1