From 2a1d78fa69d520d5b61b5f7b6515a99b9144d1d2 Mon Sep 17 00:00:00 2001 From: knight Date: Wed, 4 Feb 2026 11:41:01 -0500 Subject: [PATCH] Add fonts to perilous container for favicon rendering Sharp requires fontconfig and fonts to render SVG text elements. Added ttf-dejavu for the dynamically generated favicon. Co-Authored-By: Claude Opus 4.5 --- stacks/perilous/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stacks/perilous/Dockerfile b/stacks/perilous/Dockerfile index 8b8a457..60fc7c0 100644 --- a/stacks/perilous/Dockerfile +++ b/stacks/perilous/Dockerfile @@ -1,5 +1,5 @@ FROM node:18-alpine -RUN apk add --no-cache python3 make g++ vips-dev +RUN apk add --no-cache python3 make g++ vips-dev fontconfig ttf-dejavu WORKDIR /usr/src/app COPY content/package.json ./ RUN npm install