diff --git a/root/etc/services.d/whooglesearch/run b/root/etc/services.d/whooglesearch/run new file mode 100644 index 0000000..bdfa07a --- /dev/null +++ b/root/etc/services.d/whooglesearch/run @@ -0,0 +1,8 @@ +#!/usr/bin/with-contenv bash + +WEB_PORT=${WEB_PORT:-5000} + +cd / + +exec \ + s6-setuidgid abc flask run --host="0.0.0.0" --port="${WEB_PORT}"