To install dependencies:
bun install
The 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
.env
file 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-agent
Default values are already set in the Containerfile.
To run:
bun run index.ts
This project was created using bun init
in bun v1.2.10. Bun is a fast all-in-one JavaScript runtime.