Create run
Adding needed files for docker image
This commit is contained in:
parent
ff049cf2d5
commit
0ed071487b
8
root/etc/services.d/whooglesearch/run
Normal file
8
root/etc/services.d/whooglesearch/run
Normal file
|
@ -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}"
|
Loading…
Reference in New Issue
Block a user