Generate a Dockerfile
dockerizeGenerate a production multi-stage Dockerfile for your project directory, specifying the stack (Next.js, Node, or Go) to enable containerized deployment.
Instructions
Write a production multi-stage Dockerfile into a project. Pairs with the docker_* and coolify_* tools to build and deploy the result on your server.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"path": "<path>",
"stack": "<stack>"
},
"name": "dockerize"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Project directory to write the Dockerfile into | |
| stack | Yes | Project stack |