commit: 250777e8a7719a90549f26de14dfec76a0111985
parent: 2b0605d7238fca0aac7b2ee2057ee6b65ac84b30
Author: Alexandre Flament <alex@al-f.net>
Date: Sat, 6 Feb 2016 20:26:57 +0800
Merge pull request #493 from cy8aer/cy8aer
Dockerfile : bug fixes.
Perhaps "COPY requirements.txt ./requirements.txt" is unnecessary but it doesn't hurt (instead of "COPY requirements.txt .")
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Dockerfile b/Dockerfile
@@ -8,12 +8,12 @@ CMD ["./run.sh"]
RUN adduser -D -h /usr/local/searx -s /bin/sh searx searx \
&& echo '#!/bin/sh' >> run.sh \
&& echo 'sed -i "s|base_url : False|base_url : $BASE_URL|g" searx/settings.yml' >> run.sh \
- && echo 'sed -i "s/image_proxy : False/image_proxy : $IMAGE_PROXY/g" searx.setting.yml' >> run.sh \
+ && echo 'sed -i "s/image_proxy : False/image_proxy : $IMAGE_PROXY/g" searx/settings.yml' >> run.sh \
&& echo 'sed -i "s/ultrasecretkey/`openssl rand -hex 16`/g" searx/settings.yml' >> run.sh \
&& echo 'python searx/webapp.py' >> run.sh \
&& chmod +x run.sh
-COPY requirements.txt .
+COPY requirements.txt ./requirements.txt
RUN apk -U add \
build-base \