Skip to content

Commit 9c0f1dc

Browse files
committed
fix: fix dockerfiles
1 parent 144a56b commit 9c0f1dc

2 files changed

Lines changed: 8 additions & 3 deletions

File tree

apps/backend/src/index.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,11 @@ const startServer = async () => {
145145
);
146146
});
147147

148+
// Health check endpoint
149+
app.get('/health', async (_request, reply) => {
150+
return reply.status(200).send({ status: 'ok' });
151+
});
152+
148153
// Session Auth
149154
const auth = getAuth(dbClient as any);
150155

packages/@intlayer/mcp/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,13 +71,13 @@ FROM oven/bun:1.3.12-alpine AS runner
7171

7272
RUN apk add --no-cache wget
7373

74-
WORKDIR /app
75-
7674
ENV NODE_ENV=production
7775

7876
RUN addgroup -S app && adduser -S app -G app
7977

80-
RUN chown -R app:app /workspace/packages/@intlayer/mcp
78+
# Copy workspace structure from builder to preserve monorepo node_modules symlinks
79+
COPY --from=builder --chown=app:app /workspace/node_modules /workspace/node_modules
80+
COPY --from=builder --chown=app:app /workspace/packages/@intlayer /workspace/packages/@intlayer
8181

8282
WORKDIR /workspace/packages/@intlayer/mcp
8383

0 commit comments

Comments
 (0)