From 0a439bb802e9f4cadc9e756cad4305cf5244afa0 Mon Sep 17 00:00:00 2001 From: Till-JS <101404291+Till-JS@users.noreply.github.com> Date: Sat, 14 Feb 2026 14:32:23 +0100 Subject: [PATCH] fix(matrix-stt-bot): fix Dockerfile build order and port --- services/matrix-stt-bot/Dockerfile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/services/matrix-stt-bot/Dockerfile b/services/matrix-stt-bot/Dockerfile index e8c61c45d..15929696a 100644 --- a/services/matrix-stt-bot/Dockerfile +++ b/services/matrix-stt-bot/Dockerfile @@ -20,9 +20,9 @@ COPY packages/matrix-bot-common packages/matrix-bot-common COPY packages/bot-services packages/bot-services COPY services/matrix-stt-bot services/matrix-stt-bot -# Build shared packages -RUN pnpm --filter @manacore/matrix-bot-common build +# Build shared packages (bot-services first, then matrix-bot-common which depends on it) RUN pnpm --filter @manacore/bot-services build +RUN pnpm --filter @manacore/matrix-bot-common build # Build the bot RUN pnpm --filter @manacore/matrix-stt-bot build @@ -49,12 +49,12 @@ RUN mkdir -p /app/data # Set environment ENV NODE_ENV=production -ENV PORT=3024 +ENV PORT=4021 -EXPOSE 3024 +EXPOSE 4021 # Health check HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \ - CMD wget --no-verbose --tries=1 --spider http://localhost:3024/health || exit 1 + CMD wget --no-verbose --tries=1 --spider http://localhost:4021/health || exit 1 CMD ["node", "dist/main.js"]