Wire it all up...

This commit is contained in:
2026-02-13 18:09:10 -03:00
parent 36ff5d0c1a
commit 05a27fc19c
29 changed files with 3219 additions and 1078 deletions

View File

@@ -1 +1,23 @@
# Simple Package (Docker)
# mail-landing
Static landing site for mail.mifi.holdings (HTML/CSS/JS), built to `dist/` and served with nginx in production.
## Dev Container (local development and preview)
1. **Open in Dev Container**
In Cursor/VS Code: _Command Palette_**Dev Containers: Reopen in Container** (or **Clone Repository in Container Volume** when opening the repo).
The first time will build the container (Node 22 + pnpm) and run `pnpm install`.
2. **Preview the site**
In the container terminal:
- **Quick preview** (serves `src/` as-is, no build):
`pnpm preview`
- **Production-like preview** (build then serve `dist/`):
`pnpm preview:prod`
Port **3000** is forwarded; open **http://localhost:3000** in the host browser (or use the “Preview” port notification).
3. **Other commands**
- `pnpm build` — build `src/``dist/` (minify JS/CSS, inline critical CSS)
- `pnpm lint` / `pnpm format` — lint and format
- `pnpm docker:build` — build production image