upgrade python to version 3 in searx image and fix build error

This commit is contained in:
2019-02-01 09:25:01 +01:00
parent 634bafb496
commit 7e0b8588c4
2 changed files with 6 additions and 6 deletions

View File

@ -4,4 +4,4 @@ sed -i -e "s|base_url : False|base_url : ${BASE_URL}|g" \
-e "s/ultrasecretkey/$(openssl rand -hex 16)/g" \
/usr/local/searx/searx/settings.yml
exec su-exec $UID:$GID /sbin/tini -- python /usr/local/searx/searx/webapp.py
exec su-exec $UID:$GID /sbin/tini -- python3 /usr/local/searx/searx/webapp.py