R
Railway10mo ago
! tea

cannot deploy flask api

Hey! I'm trying to deploy a flask API using railway but it's failing. My requirements.txt:
Flask==2.0.1
scikit-learn==1.3.0
tensorflow==2.15.0
Flask==2.0.1
scikit-learn==1.3.0
tensorflow==2.15.0
My runtime.txt:
python-3.11.1
python-3.11.1
ERROR: failed to solve: process "/bin/bash -ol pipefail -c python -m venv --copies /opt/venv && . /opt/venv/bin/activate && pip install -r requirements.txt" did not complete successfully: exit code: 1 Error: Docker build failed i dunno what to do, thanks :))
Solution:
safe to say railway isn't building your code on macs
Jump to solution
8 Replies
Percy
Percy10mo ago
Project ID: 5b52e03e-932b-4ff8-bbf8-b4c7041e32e9
! tea
! teaOP10mo ago
5b52e03e-932b-4ff8-bbf8-b4c7041e32e9
! tea
! teaOP10mo ago
Brody
Brody10mo ago
error: PyObjC requires macOS to build
error: PyObjC requires macOS to build
Solution
Brody
Brody10mo ago
safe to say railway isn't building your code on macs
! tea
! teaOP10mo ago
nice catch, ive fixed the issue now. tysm :)
Brody
Brody10mo ago
no problem!
Want results from more Discord servers?
Add your server