Update Dockerfile
Browse files- Dockerfile +27 -0
Dockerfile
CHANGED
@@ -1,2 +1,29 @@
|
|
1 |
FROM alpine
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
RUN git clone https://github.com/searx/searx
|
|
|
1 |
FROM alpine
|
2 |
+
RUN apk upgrade --no-cache \
|
3 |
+
&& apk add --no-cache -t build-dependencies \
|
4 |
+
build-base \
|
5 |
+
py3-setuptools \
|
6 |
+
python3-dev \
|
7 |
+
libffi-dev \
|
8 |
+
libxslt-dev \
|
9 |
+
libxml2-dev \
|
10 |
+
openssl-dev \
|
11 |
+
tar \
|
12 |
+
git \
|
13 |
+
&& apk add --no-cache \
|
14 |
+
ca-certificates \
|
15 |
+
su-exec \
|
16 |
+
python3 \
|
17 |
+
py3-pip \
|
18 |
+
libxml2 \
|
19 |
+
libxslt \
|
20 |
+
openssl \
|
21 |
+
tini \
|
22 |
+
uwsgi \
|
23 |
+
uwsgi-python3 \
|
24 |
+
brotli \
|
25 |
+
&& pip3 install --upgrade pip wheel setuptools \
|
26 |
+
&& pip3 install --no-cache -r requirements.txt \
|
27 |
+
&& apk del build-dependencies \
|
28 |
+
&& rm -rf /root/.cache
|
29 |
RUN git clone https://github.com/searx/searx
|