@@ -1,9 +1,11 @@
11FROM alpine:3.3
2+MAINTAINER searx <https://github.com/asciimoo/searx>
3+LABEL description "A privacy-respecting, hackable metasearch engine."
24
35ENV BASE_URL=False IMAGE_PROXY=False
46EXPOSE 8888
57WORKDIR /usr/local/searx
6−CMD ["./run.sh"]
8+CMD ["/usr/bin/tini","--","/usr/local/searx/run.sh"]
79
810RUN adduser -D -h /usr/local/searx -s /bin/sh searx searx \
911 && echo '#!/bin/sh' >> run.sh \
@@ -15,7 +17,8 @@ RUN adduser -D -h /usr/local/searx -s /bin/sh searx searx \
1517
1618COPY requirements.txt ./requirements.txt
1719
18−RUN apk -U add \
20+RUN echo "@commuedge http://nl.alpinelinux.org/alpine/edge/community" >> /etc/apk/repositories \
21+ && apk -U add \
1922 build-base \
2023 python \
2124 python-dev \
@@ -28,6 +31,7 @@ RUN apk -U add \
2831 openssl \
2932 openssl-dev \
3033 ca-certificates \
34+ tini@commuedge \
3135 && pip install --no-cache -r requirements.txt \
3236 && apk del \
3337 build-base \