From 662ff6feac2b9d6ae773b06d6e4b3eca32b8ea61 Mon Sep 17 00:00:00 2001 From: Nils Jakobi Date: Mon, 16 Dec 2019 06:30:37 +0100 Subject: [PATCH] now using multistage build --- Dockerfile | 6 +++++- site/config.yaml | 1 + 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 2f4fab6..3fe0fa1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1 +1,5 @@ -FROM monachus/hugo:v0.61.0 +FROM monachus/hugo:v0.61.0 AS builder +RUN hugo -d site + +FROM nginx:1.17.6-alpine +COPY --from=builder public /usr/share/nginx/html diff --git a/site/config.yaml b/site/config.yaml index ecf096e..b323b41 100644 --- a/site/config.yaml +++ b/site/config.yaml @@ -2,6 +2,7 @@ baseURL: https://test.freifunk-rhein-sieg.net languageCode: "de-de" title: "Freifunk Rhein Sieg e.V." theme: "ananke" +enableGitInfo: true menu: main: - identifier: der_verein