# Docker

> Docker Frontend Skill

- Skill: `leonj1/docker-2` (Agent Skill)
- Install (CLI): `npx skillmds@latest add leonj1/docker-2`
- Raw SKILL.md: https://api.skillmd.com/api/skills/leonj1/docker-2/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Web & Frontend
- Author: leonj1 (https://skillmd.com/u/leonj1)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/leonj1/docker-2

---

# Docker Frontend Skill

## Description
Frontend projects must run within a Docker container defined by a Dockerfile that includes all required dependencies.

## Requirements
- A `Dockerfile` must exist in the frontend project root
- The Dockerfile must include all dependencies needed to run the frontend
- The Docker image must build successfully

## Validation
Run the following command to validate the Dockerfile:

```bash
docker build -t frontend-test .
```

A successful build (exit code 0) indicates the Dockerfile is valid and complete.

