fix(deploy): use linux venv paths and interpreter none in ecosystem.config.js
This commit is contained in:
1 parent
5ed92f1fdb
commit
2f9e42495f
1 file changed
+5
-3
+5
-3
@@ -2,16 +2,18 @@ module.exports = {
|
||||
apps: [
|
||||
{
|
||||
name: "hiffi-api",
|
||||
script: "./.venv/Scripts/uvicorn.exe",
|
||||
script: "./.venv/bin/uvicorn",
|
||||
args: "api:app --host 0.0.0.0 --port 8000",
|
||||
interpreter: "none",
|
||||
cwd: "./",
|
||||
watch: false,
|
||||
autorestart: true
|
||||
},
|
||||
{
|
||||
name: "hiffi-dashboard",
|
||||
script: "./.venv/Scripts/streamlit.exe",
|
||||
args: "run app.py --server.port 8501 --server.headless true",
|
||||
script: "./.venv/bin/streamlit",
|
||||
args: "run app.py --server.port 8501 --server.headless true --server.address 0.0.0.0",
|
||||
interpreter: "none",
|
||||
cwd: "./",
|
||||
watch: false,
|
||||
autorestart: true
|
||||
|
||||
Reference in new issue
Block a user