ln -sf /usr/bin/python3.7 /usr/local/bin/python

This commit is contained in:
Roman Davydov
2022-11-17 22:42:02 +03:00
committed by GitHub
parent 9f8d1ed4a6
commit 4e42caab13

View File

@@ -31,7 +31,7 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get install -qq -y --fix-missing --no-ins
&& if [ "$TARGETPLATFORM" = "linux/arm/v7" ]; then \
apt-get -y install python3-pandas; \
sed -i '/pandas/d' requirements.txt; \
alias python=python3.7; \
ln -sf /usr/bin/python3.7 /usr/local/bin/python; \
fi \
&& pip install -r requirements.txt \
&& pip cache purge \