Update Dockerfile
Browse files- Dockerfile +4 -4
Dockerfile
CHANGED
|
@@ -8,10 +8,10 @@ WORKDIR /app
|
|
| 8 |
COPY . .
|
| 9 |
|
| 10 |
# 安装OpenCV和Node.js相关依赖
|
| 11 |
-
RUN pacman -S nodejs
|
| 12 |
-
RUN pacman -S npm
|
| 13 |
-
RUN pacman -S cmake
|
| 14 |
-
RUN pacman -S opencv
|
| 15 |
|
| 16 |
# 安装Node.js依赖
|
| 17 |
RUN npm install express
|
|
|
|
| 8 |
COPY . .
|
| 9 |
|
| 10 |
# 安装OpenCV和Node.js相关依赖
|
| 11 |
+
RUN pacman -S nodejs --noconfirm
|
| 12 |
+
RUN pacman -S npm --noconfirm
|
| 13 |
+
RUN pacman -S cmake --noconfirm
|
| 14 |
+
RUN pacman -S opencv --noconfirm
|
| 15 |
|
| 16 |
# 安装Node.js依赖
|
| 17 |
RUN npm install express
|