Skip to content

Commit 8dc08bd

Browse files
committed
docs: add note about converting existing CodeZip agents
1 parent 1a01029 commit 8dc08bd

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/container-builds.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,10 @@ In `agentcore.json`, set `"build": "Container"`:
6565

6666
All other fields work the same as CodeZip agents.
6767

68+
> **Converting an existing CodeZip agent?** Changing the `build` field in `agentcore.json` alone is not enough — you
69+
> must also add a `Dockerfile` and `.dockerignore` to the agent's code directory. The easiest way is to create a
70+
> throwaway container agent with `agentcore add agent --build Container` and copy the generated files.
71+
6872
## Local Development
6973

7074
```bash

0 commit comments

Comments
 (0)