To install dependencies:
bun installThe application uses the following environment variables:
PORT=3000
WORKDIR_NAME=/workspace
COEP=credentialless
FORWARD_PREVIEW_ERRORS=true
You can configure these variables in two ways:
- For local development, create a
.envfile in the root directory with the values above. - When running the container, you can override the default values by setting environment variables:
docker run -e PORT=8080 -e WORKDIR_NAME=/custom-workspace ... agent8-container-agentDefault values are already set in the Containerfile.
To run:
bun run index.tsThis project was created using bun init in bun v1.2.10. Bun is a fast all-in-one JavaScript runtime.