yarn does not update package installed from the same url!
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
FROM node:buster
|
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
|
RUN yarn global add --latest --silent https://gancio.org/latest.tgz 2> /dev/null
|
||||||
|
|
||||||
ADD entrypoint.sh /
|
ADD entrypoint.sh /
|
||||||
|
|||||||
@@ -64,6 +64,7 @@ sudo pm2 startup -u gancio
|
|||||||
|
|
||||||
## Upgrade
|
## Upgrade
|
||||||
```bash
|
```bash
|
||||||
|
sudo yarn cache clean gancio
|
||||||
sudo yarn global add --silent {{site.url}}/latest.tgz 2> /dev/null
|
sudo yarn global add --silent {{site.url}}/latest.tgz 2> /dev/null
|
||||||
sudo service pm2 restart
|
sudo service pm2 restart
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user