Files
web-erika/Makefile

17 lines
355 B
Makefile
Raw Normal View History

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