👷 Fix docker pdm build

fix #829
This commit is contained in:
omg-xtao 2024-06-08 10:45:53 +00:00 committed by GitHub
parent 4034c5d30c
commit 468b474262
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -13,7 +13,7 @@ RUN echo "deb http://ftp.us.debian.org/debian bookworm main non-free" >> /etc/ap
&& pip install virtualenv pdm \ && pip install virtualenv pdm \
&& python3 -m virtualenv venv/ \ && python3 -m virtualenv venv/ \
&& . venv/bin/activate \ && . 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 config pypi.url https://pypi.tuna.tsinghua.edu.cn/simple/ \
&& pdm install \ && pdm install \
&& pdm install -G :all \ && pdm install -G :all \