Updating dockerfile with pip3 install command instead of pip which was calling pip2.7 (deprecated).

This commit is contained in:
SUMAC Initiative 2020-03-04 14:44:11 +00:00
parent b8a3874692
commit 5ebdc58448

View file

@ -10,7 +10,7 @@ RUN apt update && \
rm -rf /var/cache/apt /var/lib/apt/lists
RUN curl -L https://github.com/asciimoo/searx/archive/${VERSION}.tar.gz | tar -xz --strip-components 1 -f -
RUN pip install --no-cache -r /app/code/requirements.txt
RUN pip3 install --no-cache -r /app/code/requirements.txt
RUN mv /app/code/searx/settings.yml /app/code/searx/settings.yml.orig && \
ln -sf /app/data/settings.yml /app/code/searx/settings.yml