diff options
author | Chocobozzz <me@florianbigard.com> | 2018-04-16 19:03:56 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-04-16 19:04:04 +0200 |
commit | 33837e8bc222c29d464d6c6f4a2581ab071f0ad2 (patch) | |
tree | 12bea8f20741a1bb2ffbb245b864f3a9e5584df9 /support/docker/production/docker-entrypoint.sh | |
parent | 4aeb67a569b30a233dcff2eaf9c564d62ccd6497 (diff) | |
download | PeerTube-33837e8bc222c29d464d6c6f4a2581ab071f0ad2.tar.gz PeerTube-33837e8bc222c29d464d6c6f4a2581ab071f0ad2.tar.zst PeerTube-33837e8bc222c29d464d6c6f4a2581ab071f0ad2.zip |
Try to fix automatic dockerbuild
Diffstat (limited to 'support/docker/production/docker-entrypoint.sh')
-rwxr-xr-x | support/docker/production/docker-entrypoint.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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 | |||
8 | fi | 8 | fi |
9 | 9 | ||
10 | # allow the container to be started with `--user` | 10 | # allow the container to be started with `--user` |
11 | if [ "$1" = 'npm' -a "$(id -u)" != '0' ]; then | 11 | if [ "$1" = 'npm' -a "$(id -u)" = '0' ]; then |
12 | chown -R peertube:peertube /data | 12 | chown -R peertube:peertube /data |
13 | exec gosu peertube "$0" "$@" | 13 | exec gosu peertube "$0" "$@" |
14 | fi | 14 | fi |