# D2 01 Web Docker Deploy

> Dockerizes the up-app Angular project (multi-stage build served by nginx with SPA fallback) and deploys it via Docker Compose alongside up-api and the db. Use when the user asks for Day 2 step 1 of the CRUD drill, or asks to dockerize/deploy up-app.

- Skill: `softinter-chiangrai/d2-01-web-docker-deploy` (Agent Skill, multi-file: 4 files)
- Install (CLI): `npx skillmds@latest add softinter-chiangrai/d2-01-web-docker-deploy`
- Raw SKILL.md: https://api.skillmd.com/api/skills/softinter-chiangrai/d2-01-web-docker-deploy/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: DevOps & Infra
- Author: softinter-chiangrai (https://skillmd.com/u/softinter-chiangrai)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/softinter-chiangrai/d2-01-web-docker-deploy

---


# Day 2 · Step 1 — Dockerize and deploy up-app

Copy `assets/web.Dockerfile` to `up-app/Dockerfile` and `assets/nginx.conf` to `up-app/nginx.conf`.
Merge the `up-app` service block from `assets/docker-compose.web.yml` into the root `docker-compose.yml`
under the existing `services:` key (don't overwrite `db` or `up-api`).

