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