diff --git a/Dockerfile b/Dockerfile index 03bffe9..23d2a58 100644 --- a/Dockerfile +++ b/Dockerfile @@ -64,4 +64,4 @@ find /usr/local/searxng/searx/static -a \( -name '*.html' -o -name '*.css' -o -n # expose port and set tini as CMD; default user is searxng USER searxng EXPOSE 8080 -CMD ["/sbin/tini","--","run.sh"] \ No newline at end of file +CMD ["/sbin/tini","--","/usr/local/bin/run.sh"] \ No newline at end of file diff --git a/src/run.sh b/src/run.sh index 80242e8..095b1cd 100644 --- a/src/run.sh +++ b/src/run.sh @@ -1,2 +1,4 @@ +#!/bin/sh + # start uwsgi with SearXNG workload exec uwsgi --master --http-socket "0.0.0.0:8080" "/etc/uwsgi/uwsgi.ini" \ No newline at end of file