Fixes #564 This will increase the deployment time tho... as it updates the repo and then installs a package before running replit.. I see no other workaround tho, maybe downloading lsof binary manually?
4 lines
243 B
Plaintext
4 lines
243 B
Plaintext
language = "bash"
|
|
run = "install-pkg lsof && kill $(lsof -t -i:5000) > /dev/null 2>&1; pip install -r requirements.txt && ./run"
|
|
onBoot = "install-pkg lsof && kill $(lsof -t -i:5000) > /dev/null 2>&1; pip install -r requirements.txt && ./run"
|