Build - Add piwheels support for ARMv6 and ARMv7 machines (rPi etc) (#1814)

This commit is contained in:
Marcelo Alencar
2023-10-26 08:46:14 -03:00
committed by GitHub
parent 0aef5483d9
commit c372942295

View File

@@ -20,6 +20,11 @@ WORKDIR /install
COPY requirements.txt /requirements.txt COPY requirements.txt /requirements.txt
# Instructing pip to fetch wheels from piwheels.org" on ARMv6 and ARMv7 machines
RUN if [ "$(dpkg --print-architecture)" = "armhf" ] || [ "$(dpkg --print-architecture)" = "armel" ]; then \
printf "[global]\nextra-index-url=https://www.piwheels.org/simple\n" > /etc/pip.conf; \
fi;
RUN pip install --target=/dependencies -r /requirements.txt RUN pip install --target=/dependencies -r /requirements.txt
# Playwright is an alternative to Selenium # Playwright is an alternative to Selenium