Try to reduce docker image size
This commit is contained in:
parent
47c951b70b
commit
d1e5922379
|
@ -55,7 +55,9 @@ RUN chown -R peertube:peertube /app
|
||||||
USER peertube
|
USER peertube
|
||||||
|
|
||||||
RUN yarn install --pure-lockfile \
|
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
|
USER root
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue