baoyin2024 commited on
Commit
4d7c889
·
verified ·
1 Parent(s): aabe5da

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -15
Dockerfile CHANGED
@@ -28,21 +28,7 @@ ARG DB_POSTGRESDB_USER=$DB_POSTGRESDB_USER
28
  ARG DB_POSTGRESDB_PASSWORD=$DB_POSTGRESDB_PASSWORD
29
 
30
  # Install system dependencies
31
- RUN apk add --no-cache \
32
- git \
33
- python3 \
34
- py3-pip \
35
- make \
36
- g++ \
37
- build-base \
38
- cairo-dev \
39
- pango-dev \
40
- chromium \
41
- postgresql-client \
42
- ffmpeg \
43
- fontconfig \ # 关键:添加 fontconfig
44
- dejavu-fonts \ # 可选:添加一些默认字体
45
- yt-dlp
46
 
47
  # Install custom fonts
48
  RUN mkdir -p /usr/share/fonts/truetype/custom
@@ -66,3 +52,4 @@ WORKDIR /data
66
  # Start n8n
67
  CMD ["n8n", "start"]
68
 
 
 
28
  ARG DB_POSTGRESDB_PASSWORD=$DB_POSTGRESDB_PASSWORD
29
 
30
  # Install system dependencies
31
+ RUN apk add --no-cache git python3 py3-pip make g++ build-base cairo-dev pango-dev chromium postgresql-client ffmpeg fontconfig dejavu-fonts yt-dlp
 
 
 
 
 
 
 
 
 
 
 
 
 
 
32
 
33
  # Install custom fonts
34
  RUN mkdir -p /usr/share/fonts/truetype/custom
 
52
  # Start n8n
53
  CMD ["n8n", "start"]
54
 
55
+