global.config = {
loginUrl : "xxxxxxx",
urls : [
{
"url": "https://cbioportal.mskcc.org/study/summary?id=mskimpact"
}
]
}
docker run -i --init --cap-add=SYS_ADMIN --rm ghcr.io/puppeteer/puppeteer:latest node -e "$(cat ./config.js); $(cat ./main.js)"
kubectl delete po cache-warmer; kubectl run cache-warmer --env="LOGIN_URLxxx" --image cbioportal/cache_warmer:docker-run-edits5 --attach --leave-stdin-open --rm -it -- node main.js