This repository has been archived on 2019-08-06. You can view files and clone it, but cannot push or open issues or pull requests.
searx/Dockerfile
2019-08-02 05:09:08 +00:00

23 lines
543 B
Docker

FROM python:3-alpine
RUN apk add --no-cache --virtual .build \
build-base \
git \
libffi-dev \
libressl-dev \
libxslt-dev \
&& git clone --depth=1 https://github.com/asciimoo/searx \
&& cd searx \
&& pip3 install -r requirements.txt \
&& pip3 install gunicorn \
&& apk del .build \
&& apk add --no-cache \
libffi \
libressl \
libxslt \
tini
WORKDIR /searx
ENTRYPOINT ["tini", "--", "gunicorn", "searx.webapp", "--bind", "[::]:8000", "-w", "4"]