X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=support%2Fdocker%2Fproduction%2FDockerfile.stretch;h=7367721f4b6c2e02a1edc5c365f5f2fbd95b5210;hb=e6a3b266f146169d15f3f8818b36ddf34945174b;hp=6edd33546cefbcc53930805f06f39972000db57a;hpb=fd5e57bbe2accbdb16b6aa65337c5ef44b5bd8fb;p=github%2FChocobozzz%2FPeerTube.git 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 USER peertube RUN yarn install --pure-lockfile \ - && npm run build + && npm run build \ + && rm -r ./node_modules ./client/node_modules \ + && yarn install --pure-lockfile --production USER root