yarn does not update package installed from the same url!

This commit is contained in:
les 2021-07-15 19:20:44 +02:00
parent 78df98c646
commit aa58d3174d
No known key found for this signature in database
GPG key ID: 352918250B012177
2 changed files with 2 additions and 1 deletions

View file

@ -1,5 +1,5 @@
FROM node:buster
RUN yarn cache clean
RUN yarn cache clean gancio
RUN yarn global add --latest --silent https://gancio.org/latest.tgz 2> /dev/null
ADD entrypoint.sh /

View file

@ -64,6 +64,7 @@ sudo pm2 startup -u gancio
## Upgrade
```bash
sudo yarn cache clean gancio
sudo yarn global add --silent {{site.url}}/latest.tgz 2> /dev/null
sudo service pm2 restart
```