Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Dockerfile.mcp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ WORKDIR /app
COPY package.json package-lock.json ./
RUN npm ci --ignore-scripts

COPY tsconfig.json tsconfig.tests.json tsup.config.ts ./
COPY tsconfig.json tsconfig.tests.json tsdown.config.ts ./
COPY src ./src
RUN npm run build:runtime && npm prune --omit=dev

Expand Down
2 changes: 2 additions & 0 deletions tests/unit/mcp-distribution.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ describe('MCP OCI distribution', () => {
expect(workflow).not.toContain('npm publish');
expect(dockerfile).toContain('io.modelcontextprotocol.server.name="io.github.sandbaseai/sandbase-harness"');
expect(dockerfile).toContain('RUN npm ci --ignore-scripts');
expect(dockerfile).toContain('COPY tsconfig.json tsconfig.tests.json tsdown.config.ts ./');
expect(dockerfile).not.toContain('tsup.config.ts');
expect(dockerfile).toContain('RUN npm run build:runtime && npm prune --omit=dev');
});

Expand Down