2 years ago
I've a docker file that require node 18.19.1 but when run with railway it changes to 18.20.2 which cause errors in build
16 Replies
Docker runs locally as expected . but when deploy on railway it fails because of that different version
also I've specified the docker path in .env
RAILWAY_DOCKERFILE_PATH=Dockerfile.main and it's detected as expected . but the node version is not the same
2 years ago
Percy is a bot
2 years ago
full build logs please -
2 years ago
these are the deployment logs
build logs
2 years ago
load metadata for docker.io/library/node:18.19.1What makes you think 18.20.2 is being used?
Logs was provide 18.20.2 . but after set NIXPACKSNODEVERSION to 18.19.1 . it changes it to 18.19.1
2 years ago
nixpacks is not being used here, you are using a Dockerfile as per your build logs
Issue fixed . I've changed and upgrades some packages . and now deploy works as expected
2 years ago
Percy is till only a bot