docker-setup

Analyze Dockerfile and docker-compose.yml to fix Next.js Docker build and run issues.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/sperezintexas/fintech-app --skill docker-setup-sperezintexas
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docker-setup
Source: https://github.com/sperezintexas/fintech-app/tree/main/.cursor/skills/docker-setup
Command: npx skills add https://github.com/sperezintexas/fintech-app --skill docker-setup-sperezintexas

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Identify and fix Docker build/run issues in a Next.js development environment, improve development workflow with hot-reload and volumes, and ensure MongoDB integration and Yahoo Finance API connectivity.

Core Features & Use Cases

  • Analyze Dockerfile and docker-compose.yml to surface build/run problems and propose improvements.
  • Validate and adjust .dockerignore to avoid excluding necessary source files while excluding sensitive or large artifacts.
  • Apply fixes from a compact checklist to enable hot reloading, proper volume mounts, environment variables, and local MongoDB integration.
  • Provide a unified diff of modified files and a set of docker commands to validate changes in a local/dev environment.

Quick Start

Analyze your Dockerfile and docker-compose.yml, apply the recommended fixes, and output a unified diff plus commands to validate the container.

Frequently Asked Questions about docker-setup

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

FAQPage Schema
How do I fix Docker build issues in a Next.js development environment?

Fix Docker build issues in a Next.js environment by analyzing your Dockerfile and docker-compose.yml to correct .dockerignore configurations, enable hot-reloading, and ensure proper volume mounts for local development.

How do I configure hot reloading and volume mounts for a Next.js Docker container?

Configure hot reloading and volume mounts for a Next.js Docker container by applying a checklist of fixes to your docker-compose.yml, ensuring source files sync correctly and environment variables support live development updates.

Why does my Next.js Docker container fail to connect to MongoDB locally?

A Next.js Docker container fails to connect to MongoDB locally due to docker-compose misconfigurations; analyzing and adjusting environment variables and service dependencies ensures proper MongoDB integration for local development.

What's the best way to validate Docker container startup and health for a Next.js app?

Validate Docker container startup and health for a Next.js app by running a deterministic set of docker commands provided after applying unified diffs to your Dockerfile and docker-compose.yml configurations.

Does my .dockerignore configuration exclude necessary source files for Next.js?

An incorrect .dockerignore configuration excludes necessary Next.js source files or includes sensitive artifacts; analyzing and adjusting it ensures only relevant files are copied during the Docker build process.

How do I enable Yahoo Finance API access in a local Next.js Docker setup?

Enable Yahoo Finance API access in a local Next.js Docker setup by adjusting environment variables and network configurations in your docker-compose.yml to ensure the container can reach external APIs during development.