29 lines
920 B
Markdown
29 lines
920 B
Markdown
---
|
|
paths: ["Dockerfile", "docker-compose.yml", ".dockerignore", "docker/**"]
|
|
---
|
|
|
|
# Docker commands
|
|
|
|
```bash
|
|
# Build image
|
|
docker build -t faunosteo .
|
|
|
|
# Build an image that embeds the reference DRAFT sheet (preview only, never the default)
|
|
docker build --build-arg SHEET_BUNDLE=draft -t faunosteo .
|
|
|
|
# Run with compose (reads .env for APP_* vars)
|
|
docker compose up --build
|
|
|
|
# Stop
|
|
docker compose down
|
|
```
|
|
|
|
Naming convention: every Docker resource Faunosteo owns is prefixed `faunosteo_`
|
|
when the name is configurable (container `faunosteo_app`, Compose project
|
|
`faunosteo`); the Supabase CLI imposes `supabase_<service>_faunosteo`, documented
|
|
as a limit in DEPLOY.md "Docker resource naming". Never rename a resource that
|
|
holds data without keeping its volume.
|
|
|
|
Note: no global pnpm needed. `corepack enable` once (reads `packageManager`),
|
|
or call `corepack pnpm <cmd>`. Root scripts resolve `node_modules/.bin/pnpm`.
|