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>2019-01-10 23:13:32 +0300
committerdanielkvist <d94.zaragoza@gmail.com>2019-01-10 23:13:45 +0300
commit20bd79bfff20f0b654e38c19ccf7b36c706e0155 (patch)
tree6a3d7beedd26551bc40ab2107471f42590571288 /makefile
parent5cf94845f4253616408407d5842aab1b6e5bcdf8 (diff)
fix makefilev1.4
Diffstat (limited to 'makefile')
-rw-r--r--makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/makefile b/makefile
index 685ae52..9d69a95 100644
--- a/makefile
+++ b/makefile
@@ -13,9 +13,9 @@ server:
server-draft:
cd ./$(HUGO_SITE) && hugo server -w -D
docker:
- docker image build --build-arg HUGO_SITE=$(HUGO_SITE) -t $(IMAGE_NAME) .
+ docker image build --build-arg HUGO_SITE=$(HUGO_SITE) --build-arg EXPOSE=$(IMAGE_PORT) -t $(IMAGE_NAME) .
docker-nc:
- docker image build --build-arg HUGO_SITE=$(HUGO_SITE) --no-cache -t $(IMAGE_NAME) .
+ docker image build --build-arg HUGO_SITE=$(HUGO_SITE) --build-arg EXPOSE=$(IMAGE_PORT) --no-cache -t $(IMAGE_NAME) .
run:
docker container run -d -p $(IMAGE_PORT):$(HOST_PORT) --name $(APP_NAME) $(IMAGE_NAME)
stop: