dockerfile.ubuntu
```language
FROM ubuntu:20.04
# MAINTAINER维护者信息
maintainer 615973808@qq.com
RUN cp /etc/apt/sources.list /etc/apt/sources.list.back
COPY sources.list /etc/apt/sources.list
RUN apt update
RUN apt upgrade
RUN apt install -y python3.10 python3.10-venv
RUN apt install nginx
RUN apt install git
RUN apt install sqlite3
ENV LANG C.UTF-8
ENV PYTHON_VERSION 3.10
ENV wkdir /home/wwww
RUN git config --global user.name "oslock"
RUN git config --global user.email "615973808@qq.com"
WORKDIR $wkdir/
RUN git clone https://gitee.com/wupeiqi/blog.git
WORKDIR $wkdir/blog/
RUN pip install -r requirements.txt
#虚拟环境
RUN pip install virtualenv
RUN virtualenv /envs/dj --python=python
RUN /envs/dj/bin/pip install django==3.2
# 运行项目
WORKDIR $wkdir/blog
CMD ["/envs/dj/bin/python", "manage.py", "runserver", "0.0.0.0:9000"]
```