mirror of
https://framagit.org/les/gancio.git
synced 2025-01-31 16:42:22 +01:00
yarn does not update package installed from the same url!
This commit is contained in:
parent
78df98c646
commit
aa58d3174d
2 changed files with 2 additions and 1 deletions
|
@ -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
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in a new issue