Initial commit
This commit is contained in:
commit
05d913f849
22
Dockerfile
Normal file
22
Dockerfile
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
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"]
|
Reference in a new issue