jljiu commited on
Commit
da43981
·
verified ·
1 Parent(s): 0edf4c9

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -0
Dockerfile CHANGED
@@ -16,6 +16,8 @@ EXPOSE 7860
16
 
17
  # 安装puppeteer依赖
18
  RUN npm install puppeteer
 
 
19
 
20
  # 运行Node.js应用
21
  CMD ["node", "main.js"]
 
16
 
17
  # 安装puppeteer依赖
18
  RUN npm install puppeteer
19
+ # 手动安装Chromium
20
+ RUN node node_modules/puppeteer/install.js
21
 
22
  # 运行Node.js应用
23
  CMD ["node", "main.js"]