searxng-app/Dockerfile

20 lines
723 B
Docker
Raw Normal View History

2017-03-09 11:29:33 +00:00
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
2017-03-11 03:32:08 +00:00
RUN chown -R www-data.www-data /app/code
2017-03-09 11:29:33 +00:00
EXPOSE 8888
2017-03-11 03:32:08 +00:00
ADD start_searx.sh /app/
2017-03-09 11:29:33 +00:00
2017-03-11 03:32:08 +00:00
CMD [ "/app/start_searx.sh" ]