fix(ops-web): copy @geo/shared-types into Docker build context
Dockerfile.ops-web was missing the workspace package, so vue-tsc/vite failed with TS2307 when resolving @geo/shared-types. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -9,10 +9,12 @@ WORKDIR /app
|
||||
|
||||
COPY package.json pnpm-lock.yaml pnpm-workspace.yaml ./
|
||||
COPY packages/tsconfig/base.json ./packages/tsconfig/base.json
|
||||
COPY packages/shared-types/package.json ./packages/shared-types/
|
||||
COPY apps/ops-web/package.json ./apps/ops-web/
|
||||
|
||||
RUN pnpm install --frozen-lockfile
|
||||
|
||||
COPY packages/shared-types/ ./packages/shared-types/
|
||||
COPY apps/ops-web/ ./apps/ops-web/
|
||||
|
||||
RUN pnpm --filter ops-web build
|
||||
|
||||
Reference in New Issue
Block a user