diff options
author | Thomas Renard <Thomas.Renard@g3la.de> | 2016-01-15 21:57:34 +0100 |
---|---|---|
committer | Thomas Renard <Thomas.Renard@g3la.de> | 2016-01-15 21:57:34 +0100 |
commit | 807588ff2fd23d845bf498c43afe3098442ad5d1 (patch) | |
tree | ccce508daf5894e20638c864c917e83999bc35f0 | |
parent | 6a158ca2d2c5fdec597f1025c58fad90a57312dc (diff) | |
download | searxng-807588ff2fd23d845bf498c43afe3098442ad5d1.tar.gz searxng-807588ff2fd23d845bf498c43afe3098442ad5d1.zip |
Some changes in Dockerfile:
- searx/settings.yml is the right name in second sed line
- COPY requirements.txt . does not work: "Not a directory"
-rw-r--r-- | Dockerfile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Dockerfile b/Dockerfile index acc2b2e4e..29ec98019 100644 --- 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 \ |