dockerfile update

This commit is contained in:
13339479676 2021-12-31 21:05:05 +08:00
parent 95971e611d
commit b26bd80d9c
1 changed files with 7 additions and 2 deletions

View File

@ -7,11 +7,16 @@ FROM ubuntu:latest
LABEL maintainer="zyfiy1314@163.com"
# 安装linux包
RUN apt update && apt install -y python3-pip zip
RUN alias python=python3
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
RUN pip install --no-cache -U -r requirements.txt
# 创建工作目录