Deployment questions

1. Is there a way to "patch" project? I mean - can i skip building all node packages if i only update app files? (Deployment with dockerfile via cli). 2. what's this error : ERROR: failed to solve: failed to compute cache key: failed to calculate checksum of ref ....: lstat /var/lib/docker/tmp/buildkit-mount1119446912/app/node_modules/@types/node/ts4.8/globals.d.ts: no such file or directory
13 Replies
Percy
Percy7mo ago
Project ID: ad08a77d-aad2-49a5-a577-35ef1db977ff
jugorocks
jugorocks7mo ago
ad08a77d-aad2-49a5-a577-35ef1db977ff
Brody
Brody7mo ago
1. You cant, this is how dockerized deployments work. 2. Looks like a cache error.
jugorocks
jugorocks7mo ago
is it possible to store app files in a volume, (so the app uses paths to the volume instead of server root) and update them via cli?
Brody
Brody7mo ago
no its not please dont try to think of railway as a VPS host, they are far from that
jugorocks
jugorocks7mo ago
i just want to have deployments faster. how it works with Github auto-deploys? does it rebuild whole thing as well?
Brody
Brody7mo ago
yes thats how it works
jugorocks
jugorocks7mo ago
got it. thnx
Brody
Brody7mo ago
how long is your current build and publish times? (these times are listed in the build logs)
jugorocks
jugorocks7mo ago
52+13s
Brody
Brody7mo ago
thats not bad at all
jugorocks
jugorocks7mo ago
i don't think it bad
Brody
Brody7mo ago
perfect
Want results from more Discord servers?
Add your server