searxng-app/Dockerfile
2017-03-11 03:32:08 +00:00

19 lines
723 B
Docker

FROM cloudron/base:0.10.0
MAINTAINER Authors name <support@cloudron.io>
RUN mkdir -p /app/code
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/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
EXPOSE 8888
ADD start_searx.sh /app/
CMD [ "/app/start_searx.sh" ]