aboutsummaryrefslogtreecommitdiffhomepage
path: root/support/docker
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-08-08 10:10:11 +0200
committerChocobozzz <me@florianbigard.com>2018-08-08 10:10:11 +0200
commitd1e5922379fa85377afec0ef7a8f1bcc070c3afb (patch)
tree1ca4fb0ee51cc4d29e56a9528cf110ffae6bfe0b /support/docker
parent47c951b70b2303cb6111031c5db4bb65a36dd62f (diff)
downloadPeerTube-d1e5922379fa85377afec0ef7a8f1bcc070c3afb.tar.gz
PeerTube-d1e5922379fa85377afec0ef7a8f1bcc070c3afb.tar.zst
PeerTube-d1e5922379fa85377afec0ef7a8f1bcc070c3afb.zip
Try to reduce docker image size
Diffstat (limited to 'support/docker')
-rw-r--r--support/docker/production/Dockerfile.stretch4
1 files changed, 3 insertions, 1 deletions
diff --git a/support/docker/production/Dockerfile.stretch b/support/docker/production/Dockerfile.stretch
index 6edd33546..7367721f4 100644
--- a/support/docker/production/Dockerfile.stretch
+++ b/support/docker/production/Dockerfile.stretch
@@ -55,7 +55,9 @@ RUN chown -R peertube:peertube /app
55USER peertube 55USER peertube
56 56
57RUN yarn install --pure-lockfile \ 57RUN yarn install --pure-lockfile \
58 && npm run build 58 && npm run build \
59 && rm -r ./node_modules ./client/node_modules \
60 && yarn install --pure-lockfile --production
59 61
60USER root 62USER root
61 63