# cube app #0 — 入口门户
# Build context = repo root（不是 apps/cube/），所以路径都是 apps/cube/...
# build 流程在 host 上跑（不在容器里），见 README"构建：host musl + scratch 容器"
FROM scratch
COPY target/x86_64-unknown-linux-musl/release/cube /cube
COPY apps/cube/frontend/dist /dist
EXPOSE 8080
ENTRYPOINT ["/cube"]
