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
Percy8mo ago
Project ID: ad08a77d-aad2-49a5-a577-35ef1db977ff
jugorocks
jugorocksOP8mo ago
ad08a77d-aad2-49a5-a577-35ef1db977ff
Brody
Brody8mo ago
1. You cant, this is how dockerized deployments work. 2. Looks like a cache error.
jugorocks
jugorocksOP8mo 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
Brody8mo ago
no its not please dont try to think of railway as a VPS host, they are far from that
jugorocks
jugorocksOP8mo ago
i just want to have deployments faster. how it works with Github auto-deploys? does it rebuild whole thing as well?
Brody
Brody8mo ago
yes thats how it works
jugorocks
jugorocksOP8mo ago
got it. thnx
Brody
Brody8mo ago
how long is your current build and publish times? (these times are listed in the build logs)
jugorocks
jugorocksOP8mo ago
52+13s
Brody
Brody8mo ago
thats not bad at all
jugorocks
jugorocksOP8mo ago
i don't think it bad
Brody
Brody8mo ago
perfect
Want results from more Discord servers?
Add your server