File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed
Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -264,5 +264,6 @@ jobs:
264264 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
265265 run : |
266266 VERSION=${{ needs.unit-tests.outputs.version }}
267+ sha256sum sandbox-linux-x64 > sandbox-linux-x64.sha256
267268 # Tag format matches changesets: @cloudflare/sandbox@VERSION
268- gh release upload "@cloudflare/sandbox@${VERSION}" ./sandbox-linux-x64 --clobber
269+ gh release upload "@cloudflare/sandbox@${VERSION}" ./sandbox-linux-x64 ./sandbox-linux-x64.sha256 --clobber
Original file line number Diff line number Diff line change @@ -17,6 +17,15 @@ ENTRYPOINT ["/sandbox"]
1717CMD ["/your-startup-script.sh" ] # Optional: runs after server starts
1818```
1919
20+ ## How CMD Passthrough Works
21+
22+ The ` /sandbox ` binary acts as a supervisor:
23+
24+ 1 . Starts HTTP API server on port 3000
25+ 2 . Spawns your CMD as a child process
26+ 3 . Forwards SIGTERM/SIGINT to the child
27+ 4 . If CMD exits 0, server keeps running; non-zero exits terminate the container
28+
2029## Required Dependencies
2130
2231| Dependency | Required For | Install Command |
You can’t perform that action at this time.
0 commit comments