yarn cache cleaning into Dockerfile

This commit is contained in:
les 2021-07-27 17:21:08 +02:00
parent 817430d948
commit 95e740fcea
No known key found for this signature in database
GPG key ID: 352918250B012177

View file

@ -1,7 +1,7 @@
FROM node:buster
RUN yarn global remove gancio
RUN yarn cache clean gancio
RUN yarn global add --latest --silent https://gancio.org/latest.tgz 2> /dev/null
ADD entrypoint.sh /
RUN chmod 755 /entrypoint.sh
ENTRYPOINT [ "/bin/sh", "/entrypoint.sh" ]