searxng-app/Dockerfile

18 lines
669 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
EXPOSE 8888
ADD start.sh /app/
CMD [ "/app/start.sh" ]