Update Dockerfile
Browse files- Dockerfile +6 -3
Dockerfile
CHANGED
@@ -40,14 +40,17 @@ RUN apk add --no-cache \
|
|
40 |
chromium \
|
41 |
postgresql-client \
|
42 |
ffmpeg \
|
|
|
43 |
yt-dlp
|
|
|
|
|
|
|
|
|
44 |
|
45 |
# Set environment variables
|
46 |
ENV PUPPETEER_SKIP_DOWNLOAD=true
|
47 |
ENV PUPPETEER_EXECUTABLE_PATH=/usr/bin/chromium-browser
|
48 |
-
|
49 |
-
COPY ./fonts/HanyiSentyPagoda_Regular.ttf /usr/share/fonts/truetype/custom/
|
50 |
-
RUN fc-cache -f -v
|
51 |
# Install n8n globally
|
52 |
RUN npm install -g [email protected]
|
53 |
|
|
|
40 |
chromium \
|
41 |
postgresql-client \
|
42 |
ffmpeg \
|
43 |
+
ttf-dejavu \ # 可选:添加一些默认字体
|
44 |
yt-dlp
|
45 |
+
# Install custom fonts
|
46 |
+
RUN mkdir -p /usr/share/fonts/truetype/custom
|
47 |
+
COPY ./fonts/HanyiSentyPagoda_Regular.ttf /usr/share/fonts/truetype/custom/
|
48 |
+
RUN fc-cache -f -v
|
49 |
|
50 |
# Set environment variables
|
51 |
ENV PUPPETEER_SKIP_DOWNLOAD=true
|
52 |
ENV PUPPETEER_EXECUTABLE_PATH=/usr/bin/chromium-browser
|
53 |
+
|
|
|
|
|
54 |
# Install n8n globally
|
55 |
RUN npm install -g [email protected]
|
56 |
|