From a4c3db6d95b302d0dc074efe277c58b583dd9f00 Mon Sep 17 00:00:00 2001 From: Haris Razis Date: Sat, 29 Aug 2020 18:23:17 +0300 Subject: [PATCH] =?UTF-8?q?=E2=9E=95=20Add=20makefile?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/makefile | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 web/makefile diff --git a/web/makefile b/web/makefile new file mode 100644 index 0000000..e60bc1d --- /dev/null +++ b/web/makefile @@ -0,0 +1,4 @@ +default: + docker build --pull --rm -f "web/dockerfile" -t xrazis/swarmlab.io "web" + docker run -p 8080\tcp:8080 -v /var/www/web:/usr/src/app -d xrazis/swarmlab.io + docker ps \ No newline at end of file