·react-dockerfile
</>

react-dockerfile

jkappers/agent-skills

Create optimized, secure multi-stage Dockerfiles for React applications (Vite, CRA, Next.js static). Use when (1) creating a new Dockerfile for a React project, (2) containerizing a React/Vite application, (3) optimizing an existing React Dockerfile, (4) setting up Docker for React with Nginx, or (5) user mentions React and Docker/container together.

11Installs·1Trend·@jkappers

Installation

$npx skills add https://github.com/jkappers/agent-skills --skill react-dockerfile

SKILL.md

Generate production-ready multi-stage Dockerfiles for React applications served with Nginx.

Key Insight: Unlike server-side Node.js apps, React apps only need Node.js for building—the runtime is static files served by Nginx. This reduces image size from 1GB to 50MB.

| Standard Nginx | nginx:stable-alpine | 45 MB | | Non-root (recommended) | nginx:stable-alpine + USER | 45 MB | | With Brotli compression | fholzer/nginx-brotli:latest | 55 MB |

Create optimized, secure multi-stage Dockerfiles for React applications (Vite, CRA, Next.js static). Use when (1) creating a new Dockerfile for a React project, (2) containerizing a React/Vite application, (3) optimizing an existing React Dockerfile, (4) setting up Docker for React with Nginx, or (5) user mentions React and Docker/container together. Source: jkappers/agent-skills.

View raw

Facts (cite-ready)

Stable fields and commands for AI/search citations.

Install command
npx skills add https://github.com/jkappers/agent-skills --skill react-dockerfile
Category
</>Dev Tools
Verified
First Seen
2026-02-01
Updated
2026-02-18

Quick answers

What is react-dockerfile?

Create optimized, secure multi-stage Dockerfiles for React applications (Vite, CRA, Next.js static). Use when (1) creating a new Dockerfile for a React project, (2) containerizing a React/Vite application, (3) optimizing an existing React Dockerfile, (4) setting up Docker for React with Nginx, or (5) user mentions React and Docker/container together. Source: jkappers/agent-skills.

How do I install react-dockerfile?

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/jkappers/agent-skills --skill react-dockerfile Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code or Cursor

Where is the source repository?

https://github.com/jkappers/agent-skills

Details

Category
</>Dev Tools
Source
skills.sh
First Seen
2026-02-01