From 468b47426247c3e56479e251cad0d79a350d89e9 Mon Sep 17 00:00:00 2001 From: omg-xtao <100690902+omg-xtao@users.noreply.github.com> Date: Sat, 8 Jun 2024 10:45:53 +0000 Subject: [PATCH] :construction_worker: Fix docker pdm build fix #829 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index d32cbac..f00642e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,7 +13,7 @@ RUN echo "deb http://ftp.us.debian.org/debian bookworm main non-free" >> /etc/ap && pip install virtualenv pdm \ && python3 -m virtualenv venv/ \ && . venv/bin/activate \ - && pdm config python.use_venv false \ + && pdm use -f venv \ && pdm config pypi.url https://pypi.tuna.tsinghua.edu.cn/simple/ \ && pdm install \ && pdm install -G :all \