on master help sign in
Merge branch 'master' of github.com:asciimoo/searx
7c075aaAdam Tauber
.travis.yml+1−1
@@ -10,7 +10,7 @@ install:
10 - "make"
10 - "make"
11 - pip install coveralls
11 - pip install coveralls
12script:
12script:
13− - "make tests"
13+ - "make flake8"
14 - "make robot"
14 - "make robot"
15 - "make styles"
15 - "make styles"
16 - "make grunt"
16 - "make grunt"
Dockerfilenew file+21
@@ -0,0 +1,21 @@
1+FROM debian:stable
2+
3+RUN apt-get update && \
4+ apt-get install -y --no-install-recommends \
5+ python-dev python2.7-minimal python-virtualenv \
6+ python-pybabel python-pip zlib1g-dev \
7+ libxml2-dev libxslt1-dev build-essential \
8+ openssl
9+
10+RUN useradd searx
11+
12+WORKDIR /app
13+RUN pip install uwsgi
14+COPY requirements.txt /app/requirements.txt
15+RUN pip install -r requirements.txt
16+
17+COPY . /app
18+RUN sed -i -e "s/ultrasecretkey/`openssl rand -hex 16`/g" searx/settings.yml
19+
20+EXPOSE 5000
21+CMD ["/usr/local/bin/uwsgi", "--uid", "searx", "--gid", "searx", "--http", ":5000", "-w", "searx.webapp"]