Add docker container definition
Change-Id: If32020e6b8e8bb816eb54533554b18cc5302b5c9
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..b066708
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,11 @@
+MUTABLE_VERSION ?= latest
+VERSION ?= $(shell git rev-parse --short HEAD)
+
+IMAGE_PROD := avm99963/fisipastanagapp
+
+docker-prod: Dockerfile
+ docker build --force-rm -f Dockerfile --tag=$(IMAGE_PROD):$(VERSION) .
+ docker tag $(IMAGE_PROD):$(VERSION) $(IMAGE_PROD):$(MUTABLE_VERSION)
+
+push-prod: docker-prod
+ docker push $(IMAGE_PROD):$(VERSION)