FROM ubuntu:22.04 MAINTAINER Logan WORKDIR /opt ## 依赖包 RUN sed -i s@/archive.ubuntu.com/@/mirrors.aliyun.com/@g /etc/apt/sources.list \ && apt update \ && apt install nload iftop net-tools curl git -y \ && apt install python3 python3-pip -y ## 清理数据 RUN rm -rf /var/lib/apt/lists/* \ && apt clean \ && apt autoclean EXPOSE 8000 # docker build -t lghost/python3 . -f Dockerfile-ubuntu-python3