-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
24 lines (23 loc) · 816 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
24 lines (23 loc) · 816 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
services:
web:
image: node:22-alpine
working_dir: /workspace
command: sh -c "corepack enable && corepack prepare pnpm@9.12.0 --activate && pnpm install && pnpm --filter @olea/web dev"
ports:
- "3000:3000"
volumes:
- .:/workspace
- web_next_cache:/workspace/apps/web/.next
# Local secrets (e.g. GEMINI_API_KEY) — optional; the assistant runs
# rule-based without it. On Vercel these live in project env vars instead.
env_file:
- path: apps/web/.env
required: false
environment:
# NODE_ENV is intentionally left to Next.js so dev/build pick the right mode.
- NEXT_TELEMETRY_DISABLED=1
# Enables hot reload when the project lives on a bind-mounted volume.
- WATCHPACK_POLLING=true
tty: true
volumes:
web_next_cache: