mirror of
https://github.com/luzifer-docker/searx.git
synced 2024-11-09 19:50:01 +00:00
19 lines
298 B
Docker
19 lines
298 B
Docker
FROM python:3-alpine
|
|
|
|
ENV INSTALL_DIR=/opt/searx \
|
|
VERSION=v0.15.0
|
|
|
|
COPY build.sh /usr/local/bin
|
|
|
|
RUN set -ex \
|
|
&& apk --no-cache add \
|
|
bash \
|
|
&& bash /usr/local/bin/build.sh
|
|
|
|
COPY run.sh /usr/local/bin
|
|
|
|
WORKDIR /opt/searx
|
|
EXPOSE 8888
|
|
|
|
ENTRYPOINT ["bash"]
|
|
CMD ["/usr/local/bin/run.sh"]
|