| name | source-command-build-docker |
| description | Build and test Docker image locally |
source-command-build-docker
Use this skill when the user asks to run the migrated source command build-docker.
Command Template
Build the Docker image locally and verify it works.
Execute the following steps:
- Check if Dockerfile exists; if not, offer to create one
- Build the Docker image:
docker build -t unifi-mcp-server:local .
- Display the build output and any warnings
- List the image size and layers
- Optionally run the container with test environment variables
Report back with:
- Build success/failure status
- Image size
- Any build warnings or errors
- Suggestions for optimization if needed