luoyutianyang commited on
Commit
20e3ba3
·
verified ·
1 Parent(s): 473afe5

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -4
Dockerfile CHANGED
@@ -1,14 +1,12 @@
1
  # 使用justadudewhohacks/opencv-nodejs作为基础镜像
2
- FROM justadudewhohacks/opencv-nodejs
3
 
4
  # 设置工作目录
5
  WORKDIR /usr/src/app
6
 
7
  # 安装Git、CMake、nodejs和npm
8
  RUN apt-get update && \
9
- apt-get install -y git cmake && \
10
- apt install nodejs && \
11
- apt install npm
12
 
13
  # 安装OpenCV
14
  RUN apt-get install -y libopencv-dev
 
1
  # 使用justadudewhohacks/opencv-nodejs作为基础镜像
2
+ FROM superiortech/opencv4nodejs:latest
3
 
4
  # 设置工作目录
5
  WORKDIR /usr/src/app
6
 
7
  # 安装Git、CMake、nodejs和npm
8
  RUN apt-get update && \
9
+ apt-get install -y git cmake
 
 
10
 
11
  # 安装OpenCV
12
  RUN apt-get install -y libopencv-dev