diff --git a/Dockerfile b/Dockerfile index c07dd89..49be4eb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,6 @@ FROM cloudron/base:1.0.0@sha256:147a648a068a2e746644746bbfb42eb7a50d682437cead3c67c933c546357617 +ARG VERSION=v0.16.0 RUN mkdir -p /app/code /app/pkg WORKDIR /app/code @@ -7,7 +8,7 @@ RUN apt update && \ apt install -y python build-essential libxslt-dev python-dev python-virtualenv zlib1g-dev libffi-dev libssl-dev python-pip && \ rm -rf /var/cache/apt /var/lib/apt/lists -RUN curl -L https://github.com/asciimoo/searx/archive/ddee4861cee8d5b08e9219d4e727acc35fc3ca32.tar.gz | tar -xz --strip-components 1 -f - +RUN curl -L https://github.com/asciimoo/searx/archive/${VERSION}.tar.gz | tar -xz --strip-components 1 -f - RUN pip install --no-cache -r /app/code/requirements.txt RUN mv /app/code/searx/settings.yml /app/code/searx/settings.yml.orig && \