From 2448ab6e9d6125ef2ebea66e0320e4922b1edfb9 Mon Sep 17 00:00:00 2001 From: Liam Date: Mon, 30 Sep 2024 08:50:29 +0100 Subject: [PATCH] meow --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 316f708..c47d1cf 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,9 @@ FROM fascinated/docker-images:nodejs_20_with_pnpm AS base -# Install dependencies, including Python +# Install dependencies, including Python and build tools FROM base AS deps -RUN apk add --no-cache libc6-compat python3 make g++ gcc +# Install necessary packages for canvas +RUN apk add --no-cache libc6-compat python3 make g++ gcc pkgconfig pixman cairo-dev libjpeg-turbo-dev pango-dev giflib-dev WORKDIR /app COPY package.json* pnpm-lock.yaml* ./ RUN pnpm install --frozen-lockfile --quiet