Create run

Adding needed files for docker image
This commit is contained in:
mohammedalqadi 2020-05-11 06:01:39 +03:00 committed by GitHub
parent ff049cf2d5
commit 0ed071487b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View 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}"