Update Dockerfile

This commit is contained in:
Alexandre
2024-01-07 07:32:19 +01:00
committed by GitHub
parent a187b203b0
commit 7f3c9c2421

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 python3-dev; else apk add python3; fi && \
if [[ "${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