fix dockerfile

This commit is contained in:
Your Name committed 2023-03-26 20:18:55 +08:00
1 parent 25693c362c
commit 74eaff4919
2 files changed
+4 -6

No files matched your search

+1 -5
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 && \