diff --git a/apps/orchestrator/tsconfig.json b/apps/orchestrator/tsconfig.json index 486abdd..a3878ee 100644 --- a/apps/orchestrator/tsconfig.json +++ b/apps/orchestrator/tsconfig.json @@ -3,7 +3,8 @@ "compilerOptions": { "outDir": "dist", "rootDir": "src", - "noEmit": true + "noEmit": true, + "incremental": false }, "include": ["src/**/*"] } diff --git a/apps/worker/tsconfig.json b/apps/worker/tsconfig.json index 486abdd..a3878ee 100644 --- a/apps/worker/tsconfig.json +++ b/apps/worker/tsconfig.json @@ -3,7 +3,8 @@ "compilerOptions": { "outDir": "dist", "rootDir": "src", - "noEmit": true + "noEmit": true, + "incremental": false }, "include": ["src/**/*"] } diff --git a/docker/Dockerfile b/docker/Dockerfile index 8449e08..4d69964 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -116,8 +116,8 @@ COPY docker/next.config.docker.ts ./apps/web/next.config.ts # runtime web image never reads /tmp. COPY --from=collab-build /app/apps/collab-server/dist/index.mjs /tmp/.collab-built COPY --from=mcp-build /app/apps/mcp-server/dist/index.js /tmp/.mcp-built -COPY --from=orchestrator-build /app/apps/orchestrator/dist/index.mjs /tmp/.orchestrator-built -COPY --from=worker-build /app/apps/worker/dist/index.mjs /tmp/.worker-built +COPY --from=orchestrator-build /app/apps/orchestrator/dist/index.js /tmp/.orchestrator-built +COPY --from=worker-build /app/apps/worker/dist/index.js /tmp/.worker-built ENV NEXT_TELEMETRY_DISABLED=1 ENV NODE_ENV=production @@ -241,10 +241,10 @@ COPY --from=orchestrator-build --chown=orchestrator:nodejs /app/apps/orchestrato USER orchestrator HEALTHCHECK --interval=30s --timeout=5s --start-period=20s --retries=3 \ - CMD pgrep -f "node.*dist/index\\.mjs" > /dev/null || exit 1 + CMD pgrep -f "node.*dist/index\\.js" > /dev/null || exit 1 WORKDIR /app/apps/orchestrator -CMD ["node", "dist/index.mjs"] +CMD ["node", "dist/index.js"] # ============================================================================ @@ -287,7 +287,7 @@ RUN cd /app/repo \ USER worker HEALTHCHECK --interval=30s --timeout=5s --start-period=20s --retries=3 \ - CMD pgrep -f "node.*dist/index\\.mjs" > /dev/null || exit 1 + CMD pgrep -f "node.*dist/index\\.js" > /dev/null || exit 1 WORKDIR /app/apps/worker -CMD ["node", "dist/index.mjs"] +CMD ["node", "dist/index.js"]