luoyutianyang commited on
Commit
23f0aef
·
verified ·
1 Parent(s): eabb7dd

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -0
Dockerfile CHANGED
@@ -15,6 +15,7 @@ RUN pnpm install
15
  RUN pnpm install opencv4nodejs
16
 
17
  # 构建
 
18
  RUN cd /usr/src/app/node_modules/opencv4nodejs && node-gyp configure && node-gyp build
19
 
20
  # 将当前目录中的所有文件复制到工作目录中
 
15
  RUN pnpm install opencv4nodejs
16
 
17
  # 构建
18
+ SHELL ["/bin/bash", "-c"]
19
  RUN cd /usr/src/app/node_modules/opencv4nodejs && node-gyp configure && node-gyp build
20
 
21
  # 将当前目录中的所有文件复制到工作目录中