Add support for docker dev in bolt

This commit is contained in:
Rahul Bhardwaj
2024-10-06 19:42:49 +05:30
parent 6a9cb78fd6
commit 816d6d5f81
2 changed files with 30 additions and 0 deletions

View File

@@ -108,3 +108,17 @@ pnpm run deploy
```
Make sure you have the necessary permissions and Wrangler is correctly configured for your Cloudflare account.
## Docker Dev
To build docker image
```
docker build -t bolt-ai .
```
To run bolt dev in docker(Add ANTHROPIC_API_KEY=XXX before running)
```
docker run -p 5173:5173 --env-file .env.local bolt-ai
```