Spaces:
Build error
Build error
Download ecosystem.config.js from Enternal1/primestake: direct link, hf CLI and curl.
- Browser
- Download file 563 Bytes
-
https://huggingface.co/spaces/Enternal1/primestake/resolve/main/ecosystem.config.js
- Command line
-
hf download hf://spaces/Enternal1/primestake/ecosystem.config.js
-
curl -L -o ecosystem.config.js https://huggingface.co/spaces/Enternal1/primestake/resolve/main/ecosystem.config.js
563 Bytes
| module.exports = { | |
| apps: [ | |
| { | |
| name: "prime-stake-backend", | |
| script: "./src/server.js", | |
| cwd: "./backend", | |
| instances: 1, | |
| autorestart: true, | |
| watch: false, | |
| max_memory_restart: "1G", | |
| env: { | |
| NODE_ENV: "production", | |
| PORT: 4000 | |
| } | |
| }, | |
| { | |
| name: "prime-stake-frontend", | |
| script: "npm", | |
| args: "start", | |
| cwd: "./frontend", | |
| instances: 1, | |
| autorestart: true, | |
| watch: false, | |
| env: { | |
| NODE_ENV: "production", | |
| PORT: 3000 | |
| } | |
| } | |
| ] | |
| }; | |