Missed two references to python2.7 updated to python3

This commit is contained in:
SUMAC Initiative 2020-03-04 14:52:32 +00:00
parent 5ebdc58448
commit 12bca09526
2 changed files with 2 additions and 2 deletions

View file

@ -6,7 +6,7 @@ RUN mkdir -p /app/code /app/pkg
WORKDIR /app/code
RUN apt update && \
apt install -y python build-essential libxslt-dev python-dev python-virtualenv zlib1g-dev libffi-dev libssl-dev python-pip && \
apt install -y python3 build-essential libxslt-dev python-dev python-virtualenv zlib1g-dev libffi-dev libssl-dev python-pip && \
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 -

View file

@ -13,4 +13,4 @@ fi
chown -R www-data.www-data /app/data
echo "==> Starting searx"
exec gosu www-data python /app/code/searx/webapp.py
exec gosu www-data python3 /app/code/searx/webapp.py