Update README.md

Updated the Coolify configuration to use the --filter option with Turbo for launching specific applications. This change ensures that only the targeted application is started, enhancing resource efficiency and simplifying the startup process.
This commit is contained in:
Andrei Malinkovich
2024-07-05 23:42:26 +02:00
committed by GitHub
parent 1e571dbb76
commit 8bcdba45bc

View File

@@ -2,6 +2,7 @@
## Server build (NodeJS) ## Server build (NodeJS)
- Set `Build Pack` to `nixpacks`. - Set `Build Pack` to `nixpacks`.
- Set the start command to `cd apps/<app-name> && npm run start`. - Set the build command to `npm run build --filter=web`,
- Set the start command to `npm run start --filter=web`.
- `npm` could be different depending on the package manager you are using (`Nixpacks` decides based on the lock file). - `npm` could be different depending on the package manager you are using (`Nixpacks` decides based on the lock file).
- That's all. - That's all.