chore: update base image from klakegg/hugo to alpine with manual Hugo install

This commit is contained in:
Greg 2025-05-25 16:20:09 +02:00
parent 3d2e14f2a6
commit 2fd78750c0

View File

@ -1,5 +1,8 @@
# Stage 1: Build the Hugo site # Stage 1: Build the Hugo site
FROM klakegg/hugo:latest-alpine AS builder FROM alpine:3.19 AS builder
# Install Hugo
RUN apk add --no-cache hugo
# Set the working directory in the container # Set the working directory in the container
WORKDIR /src WORKDIR /src