From 33837e8bc222c29d464d6c6f4a2581ab071f0ad2 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 16 Apr 2018 19:03:56 +0200 Subject: Try to fix automatic dockerbuild --- support/docker/production/docker-entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'support/docker/production/docker-entrypoint.sh') diff --git a/support/docker/production/docker-entrypoint.sh b/support/docker/production/docker-entrypoint.sh index 4099a1984..ba9fcfed5 100755 --- a/support/docker/production/docker-entrypoint.sh +++ b/support/docker/production/docker-entrypoint.sh @@ -8,7 +8,7 @@ if [ "${1#-}" != "$1" ] || [ "${1%.conf}" != "$1" ]; then fi # allow the container to be started with `--user` -if [ "$1" = 'npm' -a "$(id -u)" != '0' ]; then +if [ "$1" = 'npm' -a "$(id -u)" = '0' ]; then chown -R peertube:peertube /data exec gosu peertube "$0" "$@" fi -- cgit v1.2.3