Skip to content

Commit c70fde2

Browse files
committed
node-canvas build deps
1 parent 8c75fae commit c70fde2

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

Dockerfile

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,14 @@ RUN npm prune --production
2525
FROM node:23 AS ledder
2626
ENV NODE_ENV=production
2727

28-
RUN apt update && apt install -y build-essential cmake
28+
RUN apt update && apt install -y build-essential cmake \
29+
libcairo2-dev \
30+
libpango1.0-dev \
31+
libjpeg-dev \
32+
libgif-dev \
33+
librsvg2-dev \
34+
pkg-config
35+
2936
COPY entrypoint.sh /
3037

3138
WORKDIR /app

0 commit comments

Comments
 (0)