Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7c075aa7 authored by Adam Tauber's avatar Adam Tauber
Browse files

Merge branch 'master' of github.com:asciimoo/searx

parents 9492b500 6b8270a2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -10,7 +10,7 @@ install:
  - "make"
  - pip install coveralls
script:
  - "make tests"
  - "make flake8"
  - "make robot"
  - "make styles"
  - "make grunt"

Dockerfile

0 → 100644
+21 −0
Original line number Diff line number Diff line
FROM debian:stable

RUN apt-get update && \
    apt-get install -y --no-install-recommends \
            python-dev python2.7-minimal python-virtualenv \
            python-pybabel python-pip zlib1g-dev \
            libxml2-dev libxslt1-dev build-essential \
            openssl

RUN useradd searx

WORKDIR /app
RUN pip install uwsgi
COPY requirements.txt /app/requirements.txt
RUN pip install -r requirements.txt

COPY . /app
RUN sed -i -e "s/ultrasecretkey/`openssl rand -hex 16`/g" searx/settings.yml

EXPOSE 5000
CMD ["/usr/local/bin/uwsgi", "--uid", "searx", "--gid", "searx", "--http", ":5000", "-w",  "searx.webapp"]