Build expired and future content into the static output
This commit is contained in:
parent
79d5469aa5
commit
de49fb8724
@ -32,7 +32,7 @@ COPY content/ /code/content/
|
|||||||
COPY --from=node-builder /code/node_modules /code/node_modules
|
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
|
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
|
FROM nginx:1.22.0-alpine
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user