Skip to content

Commit e984111

Browse files
authored
Merge pull request #23 from simonabler/23-fix-fontconfig-alpine
fix(docker): install fontconfig + ttf-dejavu to silence Sharp/libvips…
2 parents b61ee13 + cbf7c72 commit e984111

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

dockerfiles/Dockerfile.backend

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,10 @@ FROM node:24-alpine AS runtime
1919
ENV NODE_ENV=production
2020

2121
RUN apk update && apk upgrade
22-
RUN apk add --no-cache python3 make g++ sqlite-dev py3-setuptools
22+
RUN apk add --no-cache python3 make g++ sqlite-dev py3-setuptools \
23+
# Fontconfig + fonts — required by libvips/Sharp for SVG text rendering \
24+
fontconfig ttf-dejavu && \
25+
fc-cache -f
2326

2427

2528

0 commit comments

Comments
 (0)