FROM ubuntu:18.04
RUN apt-get update
RUN apt-get install python3 python3-pip -y
RUN ln -s /usr/bin/python3 /usr/bin/python
RUN ln -s /usr/bin/pip3 /usr/bin/pip
RUN pip install flask uwsgi
RUN apt-get install htop lrzsz git vim curl -y
RUN export DEBIAN_FRONTEND=noninteractive \
&& apt-get install -y tzdata \
&& ln -fs /usr/share/zoneinfo/Asia/Shanghai /etc/localtime \
&& dpkg-reconfigure --frontend noninteractive tzdata
ENV LANG C.UTF-8
基于Docker创建Python3研发基础镜像
于 2024-07-22 14:13:18 首次发布