run is Node-based, so we need a Node entrypoint. server.js: 1) pip install -r requirements.txt (idempotent, --break-system-packages) 2) spawn python3 -m src.dashboard.run on PORT 8000 3) http proxy 3000 → 8000 This makes the dashboard visible at /proxy/3000/.
7 lines
124 B
JSON
7 lines
124 B
JSON
{
|
|
"name": "agromarket-price-agent",
|
|
"private": true,
|
|
"type": "commonjs",
|
|
"scripts": { "start": "node server.js" }
|
|
}
|