fix: 修改dockerfile为了编译canvas

This commit is contained in:
huan 2024-08-12 11:11:17 +08:00
parent 7b2b99daea
commit c39a181f65

View File

@ -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