fix: 修改dockerfile为了编译canvas
This commit is contained in:
parent
7b2b99daea
commit
c39a181f65
11
Dockerfile
11
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
|
WORKDIR /app
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user