anukamithara/deploy-skills

dockerize-app

Generate or minimally improve production Dockerfiles and .dockerignore files using repository-specific build and startup evidence.

Ver código fuente

Cómo usar

  1. Copia el comando y revisa el paquete antes de instalarlo en tu entorno de agente.
  2. Consulta las herramientas, credenciales y entornos necesarios en el documento original.
  3. Describe las entradas y el resultado deseado; contrasta la salida con las fuentes.
npx skills add https://github.com/anukamithara/deploy-skills --skill dockerize-app

Antes de empezar

  • La instalación no incluye suscripción al modelo, cuota API ni permisos sobre tus archivos.
  • Las estrellas e instalaciones reflejan actividad, no una prueba independiente de calidad o seguridad.
Documento original del Skill

Contenido del repositorio de origen con títulos, ejemplos, código, tablas, enlaces e imágenes preservados.

Dockerize App

Create an image that matches the analyzed application instead of a generic template.

Workflow

  1. Require an analyze-deployment result or perform that analysis first.
  2. Inspect every existing Dockerfile, ignore file, lockfile, and startup declaration.
  3. Read references/dockerfile-rules.md.
  4. Read only the matching stack reference: references/python-fastapi.md, references/nodejs-api.md, references/nextjs.md, or references/spring-boot.md.
  5. Propose the exact files and behavior to change before editing existing configuration.
  6. Generate a matching .dockerignore; use assets/dockerignore.base only as a baseline and preserve required build inputs.
  7. Run python3 scripts/inspect-dockerfile.py --dockerfile <path> and build the image when Docker is available.
  8. Report the chosen base, lockfile, build stages, runtime user, command, port, health strategy, and unresolved assumptions.

Do not embed credentials, copy local environment files, install unnecessary tools in the runtime stage, or invent a startup command unsupported by the repository.

Relacionados por tarea

del mismo repositorio

Más Skills

Todos los Skills