mirror of https://github.com/Chocobozzz/PeerTube
Try to reduce docker image size
parent
47c951b70b
commit
d1e5922379
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue