R
Railway13mo 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
Percy13mo ago
Project ID: 9e443165-f25c-4aa7-b759-1ee81e048d63
apf99
apf99OP13mo ago
ProjectID: 9e443165-f25c-4aa7-b759-1ee81e048d63
Brody
Brody13mo ago
do you have a nixpacks.toml?
apf99
apf99OP13mo ago
I'm not sure what that is. I'm fairly new to Railway.
Brody
Brody13mo ago
do you have a runtime.txt file?
apf99
apf99OP13mo ago
Yes.
Brody
Brody13mo ago
what are its contents?
apf99
apf99OP13mo ago
python-3.7.9
Brody
Brody13mo ago
what version of python do you use locally?
apf99
apf99OP13mo ago
3.7.9
Brody
Brody13mo ago
can your app run with python 3.8?
apf99
apf99OP13mo ago
I believe so. Haven't tried it yet as I don't have it installed.
Adam
Adam13mo 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
Brody13mo ago
upgrade is easier tbh
No description
Solution
apf99
apf9913mo ago
Can I just try editing my runtime file? I will change it to 3.8
Brody
Brody13mo ago
yes you can
Adam
Adam13mo ago
yeah fair enough I can’t find a 37 package anywhere
apf99
apf99OP13mo ago
Trying it now!! Worked!!! You guys are absolute superstars!! Thank you for your expeditious handling of this.
Brody
Brody13mo ago
no problem 🙂
Want results from more Discord servers?
Add your server