Skip to content
This repository has been archived by the owner on Dec 3, 2024. It is now read-only.

Latest commit

 

History

History
35 lines (23 loc) · 759 Bytes

README.md

File metadata and controls

35 lines (23 loc) · 759 Bytes

Fedora image for Hugo-based generation

This Fedora container image contains:

Usage instructions

Start the container in the folder that contains your blog source

$ podman run --rm -v $PWD:/workspace \
    ghcr.io/gbraad-redhat/hugo:0.127.0 --minify

This will generate a public output.

Or using

$ podman run --rm -v $PWD:/workspace -p 1313:1313 \
    ghcr.io/gbraad-redhat/hugo:0.127.0 \
    server --bind 0.0.0.0

the generated content will be published using the embedded server on http://localhost:1313

Build container

$ podman build -t hugo -f Containerfile .