Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/danielkvist/hugo-terrassa-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordanielkvist <d94.zaragoza@gmail.com>2018-12-21 15:34:19 +0300
committerdanielkvist <d94.zaragoza@gmail.com>2018-12-21 15:35:42 +0300
commit341250151d85381ffb18b727a4c38633ee66ce0d (patch)
treeb5ce3907cbc87b0bd4be5f4f8c2a391d58da34b8 /makefile
parent7b733be19c0953bfc756f9c9877d09bd6abb9abc (diff)
add simple makefile
Diffstat (limited to 'makefile')
-rw-r--r--makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/makefile b/makefile
new file mode 100644
index 0000000..6babce0
--- /dev/null
+++ b/makefile
@@ -0,0 +1,12 @@
+IMAGE_NAME=hugo-test
+PORT=80
+
+# Hugo
+hugo-build:
+ cd ./exampleSite && hugo
+
+# Docker
+docker-build:
+ docker image build --no-cache -t $(IMAGE_NAME) .
+run:
+ docker container run -d -p $(PORT):80 $(IMAGE_NAME)