2 months ago
m getting this issue kindly solve this
context: f8f6-pGsw
load build definition from railpack-plan.json
1ms
install mise packages: python
1s
mise python@3.13.12 ✓ installed
python -m venv /app/.venv
3s
copy requirements.txt
30ms
pip install -r requirements.txt
21s
Successfully installed annotated-doc-0.0.4 annotated-types-0.7.0 anyio-4.13.0 click-8.3.2 fastapi-0.135.3 h11-0.16.0 idna-3.11 joblib-1.5.3 numpy-2.4.4 pandas-3.0.2 pydantic-2.12.5 pydantic-core-2.41.5 python-dateutil-2.9.0.post0 scikit-learn-1.8.0 scipy-1.17.1 six-1.17.0 starlette-1.0.0 threadpoolctl-3.6.0 typing-extensions-4.15.0 typing-inspection-0.4.2 uvicorn-0.43.0
copy / /app, .
140ms
Build timed out
1 Replies
2 months ago
Your build completed the install and copy steps but timed out during the final image packaging stage. This typically happens when your repository contains large files (such as datasets, model pickle files, or CSV files), which is common in ML projects using scikit-learn, pandas, and numpy. You can add a .railpackignore file to your repo root (works like .gitignore) to exclude large files that aren't needed at runtime, which should reduce the image size enough to complete within the build time limit.
Status changed to Awaiting User Response Railway • about 2 months ago
a month ago
This thread has been marked as solved automatically due to a lack of recent activity. Please re-open this thread or create a new one if you require further assistance. Thank you!
Status changed to Solved Railway • about 1 month ago