Skip to content

Commit 0c3ef5a

Browse files
committed
fix: build fixes
1 parent 3489973 commit 0c3ef5a

2 files changed

Lines changed: 6 additions & 3 deletions

File tree

Dockerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,10 @@ COPY pnpm-lock.yaml ./pnpm-lock.yaml
4848
COPY pnpm-workspace.yaml ./pnpm-workspace.yaml
4949
RUN npm install -g pnpm && pnpm install --prod --frozen-lockfile --workspace-root
5050

51-
# Copy built app
52-
COPY --from=build /app/packages/mcp-server/dist ./dist
51+
COPY --from=build /app/packages/mcp-server/dist ./packages/mcp-server/dist
52+
53+
# Set working directory to the package
54+
WORKDIR /app/packages/mcp-server
5355

5456
RUN useradd -m appuser
5557
USER appuser

packages/mcp-server/tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
{
22
"extends": "../../tsconfig.base.json",
33
"compilerOptions": {
4-
"outDir": "./dist"
4+
"outDir": "./dist",
5+
"rootDir": "./src"
56
},
67
"include": [
78
"src/**/*"

0 commit comments

Comments
 (0)