R
Railway8mo ago
apf99

Error: Docker build failed

I cannot get my app to build on Railway. Works fine locally. Build log attached.
Solution:
Can I just try editing my runtime file? I will change it to 3.8
Jump to solution
19 Replies
Percy
Percy8mo ago
Project ID: 9e443165-f25c-4aa7-b759-1ee81e048d63
apf99
apf998mo ago
ProjectID: 9e443165-f25c-4aa7-b759-1ee81e048d63
Brody
Brody8mo ago
do you have a nixpacks.toml?
apf99
apf998mo ago
I'm not sure what that is. I'm fairly new to Railway.
Brody
Brody8mo ago
do you have a runtime.txt file?
apf99
apf998mo ago
Yes.
Brody
Brody8mo ago
what are its contents?
apf99
apf998mo ago
python-3.7.9
Brody
Brody8mo ago
what version of python do you use locally?
apf99
apf998mo ago
3.7.9
Brody
Brody8mo ago
can your app run with python 3.8?
apf99
apf998mo ago
I believe so. Haven't tried it yet as I don't have it installed.
Adam
Adam8mo ago
I don’t think there’s any need to upgrade the python version. It just looks like nixpacks isn’t able to find a package with the name python37 I’m searching for the correct package name now are y’all able to search here? I’m getting a network error https://search.nixos.org/packages?channel=23.05&from=0&size=50&sort=relevance&type=packages&query=python @Brody
Brody
Brody8mo ago
upgrade is easier tbh
No description
Solution
apf99
apf998mo ago
Can I just try editing my runtime file? I will change it to 3.8
Brody
Brody8mo ago
yes you can
Adam
Adam8mo ago
yeah fair enough I can’t find a 37 package anywhere
apf99
apf998mo ago
Trying it now!! Worked!!! You guys are absolute superstars!! Thank you for your expeditious handling of this.
Brody
Brody8mo ago
no problem 🙂