Files
web-erika/Makefile
Henrik Jess Nielsen 40f9a65f5c
All checks were successful
Build and Deploy Erika CV / build-and-deploy (push) Successful in 37s
fix: use pip3 instead of pip in Makefile
2026-04-19 17:28:09 +02:00

17 lines
331 B
Makefile

.PHONY: run install docker-build docker-run stop
run: install
FLASK_ENV=development python app.py
install:
pip3 install -r requirements.txt --quiet
docker-build:
docker build -t web-erika .
docker-run: docker-build
docker run --rm -p 5000:5000 web-erika
stop:
@docker ps -q --filter name=web-erika | xargs -r docker stop