SuperAPI AI Directory

kf-g-docker-container-dev-workflow-rules

Deployment & operations

View repository

Updated 10-15 23:27

About this skill

Docker Container Development Workflow Guidelines

Treat this SKILL.md as the entry point; for details, read the relevant file under references . docker-expert Do not duplicate the general Docker optimization, security hardening, and Compose design described in . This skill supplements only the local conventions not specified there.

When to Use

  • Create, modify, or review a Dockerfile
  • Create, modify, or review a Docker Compose development environment
  • Create a frontend development environment with devcontainer or Docker Compose
  • Run the Vite dev server inside a container
  • Fix the issue where source edits are not reflected in the container

How to Read

  1. If you are working with a Dockerfile, read dockerfile-layer-headings.md Read
  2. If you are working with source mounts in a development environment, read development-source-mount.md Read
  3. If you are working with the Vite dev server or hot reload, read vite-hot-reload.md Read
  4. In a frontend Docker development environment, check both the source mount and Vite hot reload

Reference Files

Common Checks

  • Does the Dockerfile assume a multi-stage build?
  • Does the development service use the dev target?
  • Is the source directory bind-mounted to the container's working directory?
  • Is the Vite dev server used for frontend development?
  • Is the setup configured so that rebuild is unnecessary for source changes alone?