Skip to content

Commit 4727737

Browse files
committed
dev-composable: Use gosu for starting wirecloud inside docker-entrypoint.sh
1 parent 969d615 commit 4727737

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

dev-composable/docker-entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,6 @@ case "$1" in
3737
manage.py migrate --fake-initial
3838
manage.py populate
3939

40-
su wirecloud -c "/usr/local/bin/gunicorn wirecloud_instance.wsgi:application --forwarded-allow-ips "${FORWARDED_ALLOW_IPS}" -w 2 -b :8000"
40+
gosu wirecloud /usr/local/bin/gunicorn wirecloud_instance.wsgi:application --forwarded-allow-ips "${FORWARDED_ALLOW_IPS}" -w 2 -b :8000
4141
;;
4242
esac

0 commit comments

Comments
 (0)