|
@@ -6,12 +6,13 @@ WORKDIR /app/code
|
|
|
|
|
|
RUN apt update && apt install -y python build-essential libxslt-dev python-dev python-virtualenv python-pybabel zlib1g-dev libffi-dev libssl-dev python-pip
|
|
|
RUN pip install --no-cache -r https://raw.githubusercontent.com/asciimoo/searx/master/requirements.txt
|
|
|
-RUN curl -L https://github.com/asciimoo/searx/archive/v0.14.0.tar.gz | tar -xz --strip-components 1 -f -
|
|
|
+RUN curl -L https://github.com/asciimoo/searx/archive/master.tar.gz | tar -xz --strip-components 1 -f -
|
|
|
RUN mv /app/code/searx/settings.yml /app/code/searx/settings.yml.orig
|
|
|
RUN ln -sf /app/data/settings.yml /app/code/searx/settings.yml
|
|
|
-
|
|
|
RUN chown -R www-data.www-data /app/code
|
|
|
|
|
|
+RUN /app/code/manage.sh update_packages
|
|
|
+
|
|
|
EXPOSE 8888
|
|
|
|
|
|
ADD start_searx.sh /app/
|