From c39a181f656aafe4ebe4f6c62525f381f08e22b7 Mon Sep 17 00:00:00 2001 From: huan <1486343814@qq.com> Date: Mon, 12 Aug 2024 11:11:17 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=94=B9dockerfile=E4=B8=BA?= =?UTF-8?q?=E4=BA=86=E7=BC=96=E8=AF=91canvas?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 8eadc5b..4e71ca3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,13 @@ -FROM node:18-bullseye-slim +FROM node:18-alpine + +# 安装依赖 +RUN apk add --no-cache \ + build-base \ + cairo-dev \ + jpeg-dev \ + pango-dev \ + giflib-dev \ + python3 WORKDIR /app