Update Dockerfile
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
|
@@ -15,7 +15,7 @@ RUN pnpm install
|
|
| 15 |
RUN pnpm install opencv4nodejs
|
| 16 |
|
| 17 |
# 构建
|
| 18 |
-
RUN cd
|
| 19 |
|
| 20 |
# 将当前目录中的所有文件复制到工作目录中
|
| 21 |
COPY . .
|
|
|
|
| 15 |
RUN pnpm install opencv4nodejs
|
| 16 |
|
| 17 |
# 构建
|
| 18 |
+
RUN cd /usr/src/app/node_modules/opencv4nodejs && node-gyp configure && node-gyp build
|
| 19 |
|
| 20 |
# 将当前目录中的所有文件复制到工作目录中
|
| 21 |
COPY . .
|