Update Dockerfile

This commit is contained in:
Alexandre
2024-01-07 11:25:52 +01:00
committed by GitHub
parent 55e0437f5a
commit 00197507b0

View File

@@ -84,7 +84,7 @@ RUN \
BUILD_ARCH=$(uname -m) && \
echo "${BUILD_ARCH}" && \
BUILD_ARCH=${BUILD_ARCH:-x86} && \
if [ "${BUILD_ARCH}" != *amd64* ]; then apk add --no-cache python3-dev; else apk add --no-cache python3; fi && \
if test "${BUILD_ARCH}" != "*amd64*"; then apk add --no-cache python3-dev; else apk add --no-cache python3; fi && \
ln -sf python3 /usr/bin/python && \
apk add --no-cache py3-pip gcc musl-dev && \
pip3 install --break-system-packages --no-cache-dir --ignore-installed --upgrade --requirement /qbit_manage/requirements.txt