From de49fb8724628e3e8f2f6005983107e2278f17c9 Mon Sep 17 00:00:00 2001 From: Daniel_I_Am Date: Mon, 31 Oct 2022 18:01:38 +0000 Subject: [PATCH] Build expired and future content into the static output --- docker/prod-host/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/prod-host/Dockerfile b/docker/prod-host/Dockerfile index ef04f76..9126490 100644 --- a/docker/prod-host/Dockerfile +++ b/docker/prod-host/Dockerfile @@ -32,7 +32,7 @@ COPY content/ /code/content/ COPY --from=node-builder /code/node_modules /code/node_modules COPY --from=node-builder /code/static/js/lunr/PagesIndex.json /code/static/js/lunr/PagesIndex.json -RUN hugo -D --minify -b "$BASE_HOST" +RUN hugo -D -E -F --minify -b "$BASE_HOST" FROM nginx:1.22.0-alpine