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