Django project: install phase times out

We're currently evaluating Railway because we want to move away from AWS and have a more pleasant and less manual infrastructure experience. It's a Django project. We need some extra Linux packages so I created the following nixpacks.toml:
[phases.setup]
aptPkgs = ["gettext", "libgdal30", "libxml2", "libxslt1.1", "libxslt1-dev", "swig", "openssl", "libssl-dev", "build-essential", "python3-dev"]

[phases.install]
cmds = ["python -m venv --copies /opt/venv && . /opt/venv/bin/activate && pip install --global-option=build_ext --global-option='-I/usr/include/x86_64-linux-gnu' -r requirements.txt"]
[phases.setup]
aptPkgs = ["gettext", "libgdal30", "libxml2", "libxslt1.1", "libxslt1-dev", "swig", "openssl", "libssl-dev", "build-essential", "python3-dev"]

[phases.install]
cmds = ["python -m venv --copies /opt/venv && . /opt/venv/bin/activate && pip install --global-option=build_ext --global-option='-I/usr/include/x86_64-linux-gnu' -r requirements.txt"]
A new deploy is triggered for every push to Github, but it always times out during the install phase:
...
#11 237.9 Collecting pandas==2.0.3
#11 237.9 Downloading pandas-2.0.3.tar.gz (5.3 MB)
#11 238.0 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 5.3/5.3 MB 64.0 MB/s eta 0:00:00
#11 238.9 Installing build dependencies: started
#11 365.5 Installing build dependencies: still running...
#11 434.1 Installing build dependencies: still running...
#11 506.3 Installing build dependencies: still running...

Build timed out
...
#11 237.9 Collecting pandas==2.0.3
#11 237.9 Downloading pandas-2.0.3.tar.gz (5.3 MB)
#11 238.0 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 5.3/5.3 MB 64.0 MB/s eta 0:00:00
#11 238.9 Installing build dependencies: started
#11 365.5 Installing build dependencies: still running...
#11 434.1 Installing build dependencies: still running...
#11 506.3 Installing build dependencies: still running...

Build timed out
What could I do to get to the bottom of this and fix it? Thank you! Project ID: 79325c65-7ea5-42f5-accf-16434215ec77/
1 Reply
Percy
Percy15mo ago
Project ID: 79325c65-7ea5-42f5-accf-16434215ec77
Want results from more Discord servers?
Add your server