Files
pack/examples/python-poetry/railpack.json
T
Michael BiancoandGitHub b0fce84f9d test: use poetry cli to run python (#257)
* test: run python via poetry to ensure the poetry install is working

* test: assert proper python bin in PATH across all .venv python examples

* doc: helpful mise backend inspection tip

* test: snapshot update
2025-09-11 09:19:44 -06:00

10 lines
395 B
JSON

{
"$schema": "https://schema.railpack.com",
"deploy": {
// without this, `python` is used directly, running `poetry` directly could fail if it was copied
// into the poetry venv from a previous step's binary which has since been removed from the image
// we ran into this originally when installing python3-dev
"startCommand": "poetry run python main.py"
}
}