fix dockerfile

This commit is contained in:
Your Name
2023-03-26 20:18:55 +08:00
parent c22b4c39a2
commit 79914bb6aa
2 changed files with 4 additions and 6 deletions

View File

@@ -1,8 +1,4 @@
FROM ubuntu:latest
RUN apt-get update && \
apt-get install -y python3 python3-pip && \
rm -rf /var/lib/apt/lists/*
FROM python:3.11
RUN echo '[global]' > /etc/pip.conf && \
echo 'index-url = https://mirrors.aliyun.com/pypi/simple/' >> /etc/pip.conf && \