There was an error while loading. Please reload this page.
1 parent dc6182b commit b417276Copy full SHA for b417276
1 file changed
backend/Dockerfile.python
@@ -31,8 +31,15 @@ RUN apt-get update && \
31
python3-dev llvm \
32
python3-venv make cmake && \
33
apt-get clean && \
34
- rm -rf /var/lib/apt/lists/* && \
35
- pip install --upgrade pip
+ rm -rf /var/lib/apt/lists/*
+
36
+RUN <<EOT bash
37
+ if [ "${UBUNTU_VERSION}" = "2404" ]; then
38
+ pip install --break-system-packages --user --upgrade pip
39
+ else
40
+ pip install --upgrade pip
41
+ fi
42
+EOT
43
44
45
# Cuda
0 commit comments