feat: add docker run target and configure app for containerization
All checks were successful
Build and Push / build (push) Successful in 6s
All checks were successful
Build and Push / build (push) Successful in 6s
Co-authored-by: Antigravity <antigravity@deepmind.com>
This commit is contained in:
@@ -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
|
||||
6
Makefile
6
Makefile
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user