fix(docker): kopiera brand.config.json in i api- och worker-bygget
CI / Typecheck, test & build (push) Failing after 45s

brand.config.json importeras av shared-types, api/routes/ops.ts och worker/processors/eoc-push.ts, men Dockerfilerna kopierade aldrig in den i bygg-steget sa tsup foll pa 'Could not resolve brand.config.json'. Lagt COPY brand.config.json efter pnpm install (cache-optimalt) i bade Dockerfile.api och Dockerfile.worker. Verifierat lokalt: pnpm build gron for api + worker.

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Claude
2026-08-22 19:27:01 +00:00
parent 1c8b9ffbd9
commit 2f97fd96d3
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -7,6 +7,8 @@ COPY tsconfig.base.json turbo.json ./
COPY packages ./packages COPY packages ./packages
COPY apps/api ./apps/api COPY apps/api ./apps/api
RUN pnpm install --frozen-lockfile --filter @app/api... RUN pnpm install --frozen-lockfile --filter @app/api...
# brand.config.json importeras av shared-types + routes/ops.ts krävs vid bygget
COPY brand.config.json ./
RUN pnpm --filter @app/api build RUN pnpm --filter @app/api build
FROM node:22-alpine AS runtime FROM node:22-alpine AS runtime
+2
View File
@@ -7,6 +7,8 @@ COPY tsconfig.base.json turbo.json ./
COPY packages ./packages COPY packages ./packages
COPY apps/worker ./apps/worker COPY apps/worker ./apps/worker
RUN pnpm install --frozen-lockfile --filter @app/worker... RUN pnpm install --frozen-lockfile --filter @app/worker...
# brand.config.json importeras av shared-types + processors/eoc-push.ts krävs vid bygget
COPY brand.config.json ./
RUN pnpm --filter @app/worker build RUN pnpm --filter @app/worker build
FROM node:22-alpine AS runtime FROM node:22-alpine AS runtime