From b5baa14dddb36e2164689089b3609847ab6d3ea2 Mon Sep 17 00:00:00 2001 From: "max.mehl" Date: Wed, 25 Apr 2018 20:55:44 +0200 Subject: [PATCH] Revert "Make hugo build the website during image generation. Take 2" This reverts commit 27cef0ea3eeb034765a936fbf600b9d63f31639a. During build, the signatures.json file is not available so it always takes the default file from the repo. We will have to find a way to include the file from lund during docker build --- Dockerfile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 056a1ca..b6a3b57 100644 --- a/Dockerfile +++ b/Dockerfile @@ -23,6 +23,4 @@ COPY site/ /usr/share/blog COPY 000-default.conf /etc/apache2/sites-enabled/ -RUN /usr/share/blog/build/build.sh - -CMD apache2-foreground +CMD /usr/share/blog/build/build.sh && apache2-foreground