now using multistage build

This commit is contained in:
Nils Stinnesbeck 2019-12-16 06:30:37 +01:00
parent 940b46e6e0
commit 662ff6feac
Signed by untrusted user: nils
GPG Key ID: 86D4882C6C6CA48B
2 changed files with 6 additions and 1 deletions

View File

@ -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

View File

@ -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