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