railway changes node version .
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 build11 Replies
Project ID:
b7971003-5caf-446a-adb5-6a88dcd7e375
b7971003-5caf-446a-adb5-6a88dcd7e375
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
@Percy
@PercyPercy is a bot
full build logs please - https://bookmarklets.up.railway.app/log-downloader/
these are the deployment logs
build logs
Solution
What makes you think 18.20.2 is being used?
Logs was provide 18.20.2 . but after set NIXPACKS_NODE_VERSION to 18.19.1 . it changes it to 18.19.1
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
thanks @Percy @Brody
Percy is still only a bot