From 35c8cc50d5d1a70c5ba32578a9921ba6c7357663 Mon Sep 17 00:00:00 2001 From: "max.mehl" Date: Tue, 24 Apr 2018 23:10:50 +0200 Subject: [PATCH] make hugo build the website during image generation --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index b6a3b57..1ad167f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -23,4 +23,6 @@ COPY site/ /usr/share/blog COPY 000-default.conf /etc/apache2/sites-enabled/ -CMD /usr/share/blog/build/build.sh && apache2-foreground +CMD /usr/share/blog/build/build.sh + +RUN apache2-foreground