A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/peaceiris/hugo-extended-docker below:

peaceiris/hugo-extended-docker: Debian Based Docker Images for Hugo (Hugo extended and Hugo Modules)

Debian Based Docker Image for Hugo (Hugo extended and Hugo Modules)

Docker images on GitHub Packages ghcr.io/peaceiris/hugo are also available.

Image Name Base Image COMPRESSED SIZE Notes peaceiris/hugo:v0.x.x debian:bullseye-slim 72.64 MB Slim image peaceiris/hugo:v0.x.x-mod golang:1.20-bullseye 315.19 MB Hugo Modules feature is available peaceiris/hugo:v0.x.x-full golang:1.20-bullseye 378.96 MB Hugo Modules and Node.js are available

Note

(2) Create Your docker-compose.yml

Create your docker-compose.yml like the following.

version: '3'

services:
  hugo:
    container_name: hugo
    image: peaceiris/hugo:v0.x.x            # Minimum image
    # image: peaceiris/hugo:v0.x.x-mod      # Hugo Modules
    # image: peaceiris/hugo:v0.x.x-full     # Hugo Modules and Node.js
    # image: ghcr.io/peaceiris/hugo:v0.x.x  # Docker images on GitHub Packages
    ports:
      - 1313:1313
    volumes:
      - ${PWD}:/src
    command:
      - server
      - --bind=0.0.0.0
      - --buildDrafts
# Run "hugo server"
docker-compose up

# Build site
docker-compose run --rm hugo ""
# Build site with flags
docker-compose run --rm hugo --gc --minify --cleanDestinationDir

# Run a command of Hugo
docker-compose run --rm hugo env

The Hugo Setup GitHub Action is recommended.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4