You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create multi-platform Docker image and switch to Cloudflare official repo (#29)
* Add Docker multi-architecture build system
- Replace manual arch-specific builds with buildx multi-arch
- Add GitHub Actions workflow for automated Docker builds
- Update documentation to use unified Docker image
- Create test workflow to validate multi-arch builds
* Fix bun installation
* Fix container startup race condition
- Add defaultPort = 3000 to Sandbox class for proper port readiness
checks
- Fix onStop() to only log shutdown when container is actually stopped
- Add ping() method that checks container state without triggering
containerFetch
- Update /api/ping endpoint to use new ping() method instead of exec()
This prevents the "Sandbox successfully shut down" message from
appearing during initialization and fixes port exposure errors on
first run.
* Override containerFetch to handle failures
* Handle 503s during startup
* Revert HTTPClient
* Use local docker image in local dev
* Remove plan
* Switch over to Cloudflare official repo
* Document setEnvVars
* Add changeset
Set environment variables dynamically in the sandbox.
207
+
208
+
> **Important**: This method must be called immediately after `getSandbox()` and before any other operations. Once a sandbox instance starts up, environment variables cannot be changed
0 commit comments