fix: package release summary in Docker runtime
This commit is contained in:
1 parent
fa6ae98101
commit
22218c6678
2 files changed
+2
No files matched your search
@@ -44,6 +44,7 @@ COPY --from=build /app/apps/api ./apps/api
|
||||
COPY --from=build /app/apps/web/dist ./apps/web/dist
|
||||
COPY --from=build /app/packages ./packages
|
||||
COPY --from=build /app/docs/openapi.json ./docs/openapi.json
|
||||
COPY --from=build /app/release-summary.json ./release-summary.json
|
||||
COPY migrations ./migrations
|
||||
COPY scripts/self-hosted-config.mjs scripts/self-hosted-secrets.mjs scripts/self-hosted-server.mjs ./scripts/
|
||||
COPY package.json ./package.json
|
||||
|
||||
@@ -49,6 +49,7 @@ describe("Docker release contract", () => {
|
||||
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("COPY --from=build /app/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