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

@@ -28,5 +28,4 @@ Once a tech stack is chosen and implementation begins, update this file with:
## Git Commits
When making git commits, always append the following co-author trailer to the end of the commit message to indicate AI assistance:
`Co-authored-by: Antigravity <antigravity@deepmind.com>`
When making git commits, always append yourself as co-author trailer to the end of the commit message to indicate AI assistance

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

2
app.py
View File

@@ -50,4 +50,4 @@ def fees():
)
if __name__ == "__main__":
app.run(debug=True, port=5001)
app.run(debug=True, host='0.0.0.0', port=5001)