Deployment questions
Anonymous
TRIALOP

2 years ago

  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

Anonymous
TRIALOP

2 years ago

ad08a77d-aad2-49a5-a577-35ef1db977ff


2 years ago

  1. You cant, this is how dockerized deployments work.

  2. Looks like a cache error.


Anonymous
TRIALOP

2 years 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?


2 years ago

no its not


2 years ago

please dont try to think of railway as a VPS host, they are far from that


Anonymous
TRIALOP

2 years ago

i just want to have deployments faster. how it works with Github auto-deploys? does it rebuild whole thing as well?


2 years ago

yes thats how it works


Anonymous
TRIALOP

2 years ago

got it. thnx


2 years ago

how long is your current build and publish times? (these times are listed in the build logs)


Anonymous
TRIALOP

2 years ago

52+13s


2 years ago

thats not bad at all


Anonymous
TRIALOP

2 years ago

i don't think it bad


2 years ago

perfect


Loading...