- packages/shared/src/schemas/agent.ts: z.record(z.unknown()) → z.record(z.string(), z.unknown()) - Dockerfile.worker: add TypeScript compilation support (tsx) Fixes #build-web and #build-worker container failures.
17 lines
334 B
Docker
17 lines
334 B
Docker
FROM node:22-alpine
|
|
|
|
WORKDIR /app
|
|
|
|
COPY package.json package-lock.json ./
|
|
COPY worker/package.json worker/package.json
|
|
COPY packages/shared/package.json packages/shared/package.json
|
|
|
|
RUN npm ci --omit=dev
|
|
|
|
COPY worker/ ./worker/
|
|
COPY packages/shared/ ./packages/shared/
|
|
|
|
ENV NODE_ENV=production
|
|
|
|
CMD ["npx", "tsx", "worker/index.ts"]
|