Skip to content

Docker developement environment

Nicolas Gelot edited this page Jun 17, 2019 · 1 revision

Create the python environment

In that how to we use the last python 3 version with alpine distribution but you can use another docker image based on python.

docker run --rm -it --name searx -v $(pwd):/ws -w /ws python:3-alpine sh                                               
apk add build-base libffi-dev libxml2-dev libxslt-dev openssl-dev
sed -i 's/' searx/settings.yml                                                      
python searx/ 

Then go to http://searx.docker:8888 to load the searx website. Where searx.docker is the IP of the container, you can run the following command to get it docker inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' searx.

You can’t perform that action at this time.