Update Dockerfile

This commit is contained in:
Roman Davydov
2022-11-16 21:28:50 +03:00
committed by GitHub
parent 26137faf7c
commit 757fa86951

View File

@@ -29,10 +29,9 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get install -qq -y --fix-missing --no-ins
pip install -U cryptography==3.3.2; \
fi \
&& if [ "$TARGETPLATFORM" = "linux/arm/v7" ]; then \
pip install --index-url=https://www.piwheels.org/simple --no-cache-dir -r requirements.txt; \
else \
pip install -r requirements.txt; \
pip install --index-url=https://www.piwheels.org/simple -U pandas; \
fi \
&& pip install -r requirements.txt \
&& pip cache purge \
&& apt-get remove -y gcc rustc \
&& apt-get autoremove -y \