Open basith1993 opened 1 year ago
it's likely that one or more of those packages require a python version greater than 3.8, nixpacks supports up to python 3.11, and to use version 3.11 add 3.11
to a runtime.txt file and place that file in your project.
for any further questions please bring them to Railways discord server
Probably same issue while configuring a Directus 10.6 packages. If I remember well, Directus requires python due to node-gyp which may make this issue related to https://github.com/railwayapp/nixpacks/issues/904
nixpacks.toml
providers = ['...', 'python']
[phases.install]
cmds = ['pnpm i --frozen-lockfile']
[start]
cmd = 'pnpm railway:start:backend'
Normally this very light package.json
should be enough:
{
"scripts": {
"railway:start:backend": "directus bootstrap --skipAdminInit; pnpm directus:schema:apply --yes; directus start",
},
"dependencies": {
"@directus/api": "^11.1.0",
"directus": "^10.6.1",
},
}
Please tell me if it's not enough to reproduce the bug
Is there an existing issue for this?
Describe the bug
Facing issue while creating a docker image for django application with the following error:
To reproduce
Expected behavior
No response
Environment
Install nixpacks on Ubuntu system using:
curl -sSL https://nixpacks.com/install.sh | bash
Complete log:
.. .. ..