This repository has been archived on 2026-08-04. You can view files and clone it, but cannot push or open issues or pull requests.
seahaven-slack-bot/services/socket-mode/Dockerfile
Adam Moussa 5007b34eb3
chore(deps): batch dependency bumps for root + socket-mode
Consolidates the safe/compatible portion of 7 Dependabot PRs (#81-#87) into one
reviewable change.

root:
- @notionhq/client ^5.22.0 -> ^5.23.0
- aws-cdk-lib 2.258.1 -> 2.261.0
- @aws-sdk/client-dynamodb, @aws-sdk/lib-dynamodb ^3.1066.0 -> ^3.1082.0
- aws-cdk ^2.1126.0 -> ^2.1129.0
- esbuild ^0.28.0 -> ^0.28.1
- @types/node ^24.13.2 -> ^26.1.1

services/socket-mode:
- @slack/web-api ^7.17.0 -> ^7.19.0
- @aws-sdk/client-lambda, @aws-sdk/client-secrets-manager ^3.1066.0 -> ^3.1082.0
- @types/node ^24.0.0 -> ^26.1.1
- Dockerfile node:22-slim -> node:26-slim

HELD BACK: typescript ~6.0.3 -> ~7.0.2 (#84, #86). TS 7 breaks the CDK app because
ts-node 10.x is incompatible with the TS 7 compiler API (cdk synth: 'Cannot read
properties of undefined (reading fileExists)'). Needs a ts-node->tsx migration first;
tracked separately. Everything else builds clean; cdk synth + tsc pass; npm audit 0 vulns.
2026-07-08 17:09:18 -04:00

14 lines
299 B
Docker

FROM node:26-slim AS builder
WORKDIR /app
COPY package*.json tsconfig.json ./
RUN npm ci
COPY src/ src/
RUN npx tsc
FROM node:26-slim
WORKDIR /app
COPY --from=builder /app/dist ./dist
COPY --from=builder /app/node_modules ./node_modules
COPY package.json ./
USER node
CMD ["node", "dist/index.js"]