diff options
-rw-r--r-- | support/docker/production/Dockerfile.stretch | 4 |
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 | |||
55 | USER peertube | 55 | USER peertube |
56 | 56 | ||
57 | RUN yarn install --pure-lockfile \ | 57 | RUN 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 | ||
60 | USER root | 62 | USER root |
61 | 63 | ||