dockerfile update

This commit is contained in:
13339479676 2022-01-07 12:34:23 +08:00
parent 585db72d16
commit a287cac784
1 changed files with 3 additions and 6 deletions

View File

@ -1,6 +1,6 @@
# Opencv Webcam Script, GPL-3.0 License
# Opencv Webcam Script v0.2, GPL-3.0 License
# 创建人:曾逸夫
# 创建时间2021-12-31
# 创建时间2021-01-06
FROM ubuntu:latest
@ -11,9 +11,6 @@ RUN apt update
RUN DEBIAN_FRONTEND=noninteractive TZ=Asia/Shanghai apt-get -y install tzdata
RUN apt install -y python3-pip zip htop screen libgl1-mesa-glx libgtk2.0-dev
# RUN apt update && apt install -y python3-pip zip htop screen libgl1-mesa-glx
# RUN alias python=python3
# 安装依赖
COPY requirements.txt .
RUN python3 -m pip install --no-cache --upgrade pip
@ -24,4 +21,4 @@ RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app
# 复制内容
COPY . /usr/src/app
COPY . /usr/src/app