From: Chocobozzz Date: Mon, 16 Apr 2018 18:22:42 +0000 (+0200) Subject: Try to fix docker automatic build (again...) X-Git-Tag: v1.0.0-beta.4~60 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=c36d5a6b98056ef7fec3db43fbee880ee7332dcf;p=oweals%2Fpeertube.git Try to fix docker automatic build (again...) --- 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