feat: add docker run target and configure app for containerization
All checks were successful
Build and Push / build (push) Successful in 6s

Co-authored-by: Antigravity <antigravity@deepmind.com>
This commit is contained in:
Jan Novak
2026-02-27 14:02:22 +01:00
parent ced9aa4aeb
commit 17a96da078
3 changed files with 7 additions and 4 deletions

View File

@@ -1,4 +1,4 @@
.PHONY: help fees match web image
.PHONY: help fees match web image run
export PYTHONPATH := scripts:$(PYTHONPATH)
VENV := .venv
@@ -14,6 +14,7 @@ help:
@echo " make match - Match Fio bank payments against expected attendance fees"
@echo " make web - Start a dynamic web dashboard locally"
@echo " make image - Build an OCI container image"
@echo " make run - Run the built Docker image locally"
fees: $(PYTHON)
$(PYTHON) scripts/calculate_fees.py
@@ -26,3 +27,6 @@ web: $(PYTHON)
image:
docker build -t fuj-management:latest -f build/Dockerfile .
run:
docker run -it --rm -p 5001:5001 fuj-management:latest