Add --rm to Makefile

This commit is contained in:
Ian Adam Naval 2019-09-29 17:17:58 -04:00
parent 357f02daba
commit 3dc8371594

View File

@ -1,7 +1,7 @@
default: run default: run
run: build run: build
docker run -v $(CURDIR):/app -p "5000:5000" --env-file=.env ianonavy/autopilot docker run --rm -v $(CURDIR):/app -p "5000:5000" --env-file=.env ianonavy/autopilot
build: Dockerfile build: Dockerfile
docker build -t ianonavy/autopilot . docker build -t ianonavy/autopilot .