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 <noreply@anthropic.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user