Add make-file target to build Docker container
.PHONY: help test check clean
+VERSION=$(shell git rev-parse --short HEAD)
+APP_NAME=pynguin
+DOCKER_REPO=pynguin
.DEFAULT: help
help:
@@ -38,4 +41,8 @@ mypy:
black:
black .
+build-docker:
+ docker build -t $(APP_NAME) .
+ docker tag $(APP_NAME) $(DOCKER_REPO)/$(APP_NAME):$(VERSION)
+
check: black mypy pylint test
