fix: include release summary in Docker builds

This commit is contained in:
tianma-if committed 2026-08-20 14:55:34 +08:00
1 parent b32c87431f
commit fa6ae98101
2 files changed
+2

No files matched your search

+1
View File
@@ -28,6 +28,7 @@ COPY apps/api apps/api
COPY apps/web apps/web
COPY packages packages
COPY docs docs
COPY release-summary.json release-summary.json
COPY tsconfig.json tailwind.config.ts ./
RUN bun run build:web
+1
View File
@@ -48,6 +48,7 @@ describe("Docker release contract", () => {
expect(dockerfile).toContain("FROM oven/bun:1.3.14-alpine AS runtime");
expect(dockerfile).toContain("COPY patches patches");
expect(dockerfile).toContain("COPY docs docs");
expect(dockerfile).toContain("COPY release-summary.json release-summary.json");
expect(dockerfile).toContain("--filter @edgeever/web");
expect(dockerfile).toContain("--production --filter edgeever");
expect(dockerfile).toContain("USER bun");