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

gbraad-redhat/hugo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

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 .