BuyAndKnow/Makefile
2019-12-08 23:00:18 +01:00

17 lines
219 B
Makefile

.PHONY: build run logs
build:
docker build --tag bk_api -f Dockerfile .
run:
docker run -d --name api -p 127.0.0.1:3000:8000 bk_api
logs:
docker logs api --follow
start:
docker start api
stop:
docker stop api