From c36d5a6b98056ef7fec3db43fbee880ee7332dcf Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 16 Apr 2018 20:22:42 +0200 Subject: [PATCH] Try to fix docker automatic build (again...) --- support/docker/production/Dockerfile.stretch | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/support/docker/production/Dockerfile.stretch b/support/docker/production/Dockerfile.stretch index 999ab9da4..a8c3d62ce 100644 --- a/support/docker/production/Dockerfile.stretch +++ b/support/docker/production/Dockerfile.stretch @@ -49,9 +49,8 @@ RUN set -ex; \ # Install PeerTube WORKDIR /app -RUN chown peertube:peertube /app - -COPY --chown=peertube:peertube . ./ +COPY . ./ +RUN chown -R peertube:peertube /app USER peertube