# syntax=docker/dockerfile:1.7 # Dev image — Bun + workspace deps preinstalled. # Source is NOT baked in; docker-compose.dev.yml bind-mounts the repo # at /app so file edits propagate live into the container. FROM oven/bun:1.3 WORKDIR /app # Manifests only — keeps the install layer cacheable across source edits. COPY package.json bun.lock ./ COPY tsconfig.base.json tsconfig.json ./ COPY packages/rete/package.json packages/rete/ COPY packages/chess/package.json packages/chess/ COPY packages/server/package.json packages/server/ RUN bun install --frozen-lockfile