wetalk/docker-compose.dev.yml
ordinarthur f2227bc945
All checks were successful
Build & Deploy / build-and-deploy (push) Successful in 41s
fix: switch API from Bun to Node.js (Bun OOMKilled in K8s)
2026-04-13 11:53:55 +02:00

27 lines
460 B
YAML

services:
app:
build:
context: .
dockerfile: Dockerfile.dev
ports:
- "5173:5173"
volumes:
- .:/app
- /app/node_modules
env_file:
- .env
environment:
- CHOKIDAR_USEPOLLING=true
api:
image: node:22-alpine
working_dir: /app
ports:
- "3001:3001"
volumes:
- ./api:/app
- /app/node_modules
env_file:
- ./api/.env
command: npx tsx --watch src/index.ts