summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Dockerfile b/Dockerfile
index 355ab8d74..3894aa968 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,4 +1,4 @@
-FROM alpine:3.10
+FROM alpine:3.12
ENTRYPOINT ["/sbin/tini","--","/usr/local/searx/dockerfiles/docker-entrypoint.sh"]
EXPOSE 8080
VOLUME /etc/searx
@@ -45,6 +45,7 @@ RUN apk upgrade --no-cache \
ca-certificates \
su-exec \
python3 \
+ py3-pip \
libxml2 \
libxslt \
openssl \
@@ -54,7 +55,8 @@ RUN apk upgrade --no-cache \
brotli \
&& pip3 install --upgrade pip \
&& pip3 install --no-cache -r requirements.txt \
- && apk del build-dependencies
+ && apk del build-dependencies \
+ && rm -rf /root/.cache
COPY --chown=searx:searx . .