fix: include release summary in Docker builds
This commit is contained in:
1 parent
b32c87431f
commit
fa6ae98101
2 files changed
+2
No files matched your search
@@ -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
|
||||
|
||||
|
||||
@@ -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");
|
||||
|
||||
Reference in new issue
Block a user