Update Dockerfile
Browse files- Dockerfile +6 -0
Dockerfile
CHANGED
@@ -1,6 +1,12 @@
|
|
1 |
# Use the official Node.js image as the base image
|
|
|
2 |
FROM node:18
|
3 |
|
|
|
|
|
|
|
|
|
|
|
4 |
# Set the working directory inside the container
|
5 |
WORKDIR /app
|
6 |
|
|
|
1 |
# Use the official Node.js image as the base image
|
2 |
+
# 基于 node:18 镜像
|
3 |
FROM node:18
|
4 |
|
5 |
+
# 更新 apt-get 并安装字体
|
6 |
+
RUN apt-get update && apt-get install -y \
|
7 |
+
fonts-wqy-zenhei \ # 安装文泉驿正黑字体
|
8 |
+
xfonts-wqy # 安装文泉驿点阵宋体
|
9 |
+
|
10 |
# Set the working directory inside the container
|
11 |
WORKDIR /app
|
12 |
|