Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
# 使用适合你操作系统架构的
|
| 2 |
FROM archlinux:latest
|
| 3 |
|
| 4 |
# 设置工作目录
|
|
@@ -9,7 +9,7 @@ COPY . .
|
|
| 9 |
|
| 10 |
# 更新软件包数据库并安装需要的软件包
|
| 11 |
RUN pacman -Sy --noconfirm
|
| 12 |
-
RUN pacman -S nodejs npm cmake opencv icu --noconfirm
|
| 13 |
|
| 14 |
# 安装Node.js依赖
|
| 15 |
RUN npm install express are-we-there-yet gauge npmlog opencv4nodejs jimp axios sharp
|
|
|
|
| 1 |
+
# 使用适合你操作系统架构的archlinux镜像作为基础镜像
|
| 2 |
FROM archlinux:latest
|
| 3 |
|
| 4 |
# 设置工作目录
|
|
|
|
| 9 |
|
| 10 |
# 更新软件包数据库并安装需要的软件包
|
| 11 |
RUN pacman -Sy --noconfirm
|
| 12 |
+
RUN pacman -S nodejs npm cmake opencv icu gcc --noconfirm
|
| 13 |
|
| 14 |
# 安装Node.js依赖
|
| 15 |
RUN npm install express are-we-there-yet gauge npmlog opencv4nodejs jimp axios sharp
|