docker

Generate Dockerfiles and docker-compose configurations for Node.js/TypeScript projects.

3|Updated Apr 12, 2026
One-click install
npx skills add https://github.com/mauriciodelrio/delriodev-skills --skill docker-mauriciodelrio
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: docker
Source: https://github.com/mauriciodelrio/delriodev-skills/tree/main/es-skills/software/docker
Command: npx skills add https://github.com/mauriciodelrio/delriodev-skills --skill docker-mauriciodelrio

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It eliminates the need to manually craft Dockerfiles, docker‑compose files, and devcontainer configurations, ensuring consistent, secure, and optimized container setups for Node.js/TypeScript applications.

Core Features & Use Cases

  • Provides a multi‑stage Dockerfile template optimized for Alpine and non‑root execution.
  • Generates a ready‑to‑use docker‑compose configuration with healthchecks, named volumes, and service isolation for API, database, cache, and auxiliary tools.
  • Includes devcontainer settings for VS Code, image‑size optimization tips, and best‑practice guidelines on .dockerignore, secret handling, and networking.

Quick Start

Use the docker skill to create a full development Docker environment for a Node.js project with a single command.

Frequently Asked Questions about docker

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate a multi-stage Dockerfile for a Node.js and TypeScript project?▼

To generate a multi-stage Dockerfile for Node.js, use this skill to apply Alpine base images and non-root execution. It produces optimized Dockerfiles that separate build dependencies from final production runtime layers.

What is the best way to configure docker-compose for a Node.js API with a database and cache?▼

The best way to configure docker-compose for Node.js is using a generated configuration with healthchecks, named volumes, and container-per-service isolation. This setup ensures separate, reliable instances for your API, database, and cache.

Does this Docker setup include devcontainer settings for VS Code?▼

Yes, this Docker setup includes devcontainer settings for VS Code. It generates the necessary configuration files to establish a consistent local development environment integrated directly within the editor.

How do I reduce Docker image size for Node.js using Alpine and multi-stage builds?▼

You reduce Docker image size for Node.js by applying multi-stage builds and Alpine base images. This approach discards unnecessary build tooling and leverages a minimal Linux distribution for the final runtime image.

Do I need a .dockerignore file and non-root user for secure Node.js container deployments?▼

Yes, you need a .dockerignore file and non-root user for secure Node.js container deployments. The skill enforces these best practices automatically to prevent secret leakage and restrict container execution privileges.

Can I use this generated Docker configuration for both CI pipelines and production deployments?▼

Yes, you can use the generated Docker configuration for both CI pipelines and production deployments. The standardized Dockerfiles and docker-compose files ensure consistent, optimized container builds across local, testing, and production environments.