4c7cc26281
api/ (ElysiaJS+Bun WS gateway skeleton), worker/ (Rust, Redis dirty-chunk stream consumer behind a swappable RenderBackend trait), frontend/ (ElysiaJS+Pug+Tailwind4+Alpine, one server-rendered page) — all three verified running locally. docker-compose wires them up with postgres, redis, minio (rendered tile/mesh object storage), and Caddy as reverse proxy.
12 lines
148 B
Docker
12 lines
148 B
Docker
FROM oven/bun:1 AS base
|
|
WORKDIR /app
|
|
|
|
COPY package.json ./
|
|
RUN bun install
|
|
|
|
COPY . .
|
|
RUN bun run build:css
|
|
|
|
EXPOSE 3001
|
|
CMD ["bun", "run", "start"]
|