diff --git a/startup.sh b/startup.sh index f0757cd..afe900b 100644 --- a/startup.sh +++ b/startup.sh @@ -1,5 +1,6 @@ #!/bin/sh # Directly referencing these variables now because docker-compose sucks -python3 setup.py --appname $APPNAME --username $ADMINUSER --password $PASSWORD -gunicorn --workers 4 --threads 4 --bind 0.0.0.0:8080 wsgi:app \ No newline at end of file +chown -R abc:abc /app +s6-setuidgid abc python3 setup.py --appname $APPNAME --username $ADMINUSER --password $PASSWORD +s6-setuidgid abc gunicorn --workers 4 --threads 4 --bind 0.0.0.0:8080 wsgi:app