]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - support/docker/production/Dockerfile.stretch
Remove unnecessary env variables now we have a .env file
[github/Chocobozzz/PeerTube.git] / support / docker / production / Dockerfile.stretch
index 6edd33546cefbcc53930805f06f39972000db57a..7367721f4b6c2e02a1edc5c365f5f2fbd95b5210 100644 (file)
@@ -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