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 \
|
2023-04-17 13:19:27 +00:00
|
|
|
-t gitea.va.reichard.io/reichard/kiss:beta --push .
|
2022-11-17 02:52:37 +00:00
|
|
|
|
|
|
|
docker_build_release_latest:
|
|
|
|
docker buildx build \
|
|
|
|
--platform linux/amd64,linux/arm64 \
|
2023-04-17 13:19:27 +00:00
|
|
|
-t gitea.va.reichard.io/reichard/kiss:latest --push .
|
2022-11-17 02:52:37 +00:00
|
|
|
|
2023-04-17 13:19:27 +00:00
|
|
|
# docker buildx imagetools create gitea.va.reichard.io/reichard/kiss:latest --tag gitea.va.reichard.io/reichard/kiss:0.0.1
|