Error: Docker build failed
I cannot get my app to build on Railway. Works fine locally. Build log attached.
19 Replies
Project ID:
9e443165-f25c-4aa7-b759-1ee81e048d63
ProjectID: 9e443165-f25c-4aa7-b759-1ee81e048d63
do you have a nixpacks.toml?
I'm not sure what that is. I'm fairly new to Railway.
do you have a runtime.txt file?
Yes.
what are its contents?
python-3.7.9
what version of python do you use locally?
3.7.9
can your app run with python 3.8?
I believe so. Haven't tried it yet as I don't have it installed.
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
upgrade is easier tbh
Solution
Can I just try editing my runtime file? I will change it to 3.8
yes you can
yeah fair enough I can’t find a 37 package anywhere
Trying it now!!
Worked!!! You guys are absolute superstars!! Thank you for your expeditious handling of this.
no problem 🙂