diff --git a/Dockerfile.mcp b/Dockerfile.mcp index aed6ae3..23f1d57 100644 --- a/Dockerfile.mcp +++ b/Dockerfile.mcp @@ -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 diff --git a/tests/unit/mcp-distribution.test.ts b/tests/unit/mcp-distribution.test.ts index 0b02f73..b133003 100644 --- a/tests/unit/mcp-distribution.test.ts +++ b/tests/unit/mcp-distribution.test.ts @@ -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'); });