Update start command to listen on all interfaces

This commit is contained in:
Andras Bacsai
2024-03-14 14:52:28 +01:00
parent 5d01656e8c
commit 1ec232c23e

View File

@@ -4,5 +4,5 @@ Static build: `{"output":"static"}`
1. Use `Nixpacks`
2. Set `Ports Exposed` to `4321` (or any port you set in your `astro.config.mjs` file)
3. Set `Start Command` to `node dist/server/entry.mjs`
- Alternatively, you can set the `start script` inside `package.json` to `node dist/server/entry.mjs`. Then Nixpacks will automatically use it as the start command.
3. Set `Start Command` to `HOST=0.0.0.0 node dist/server/entry.mjs`
- Alternatively, you can set the `start script` inside `package.json` to `HOST=0.0.0.0 node dist/server/entry.mjs`. Then Nixpacks will automatically use it as the start command.