IFx some for eror on build docker
This commit is contained in:
@@ -28,6 +28,9 @@ RUN pnpm install --frozen-lockfile
|
||||
# Build the project and its dependencies
|
||||
COPY --from=builder /app/out/full/ .
|
||||
COPY turbo.json turbo.json
|
||||
COPY tsconfig.base.json tsconfig.base.json
|
||||
# Re-link workspace after full source copy (pnpm symlinks)
|
||||
RUN pnpm install --frozen-lockfile --offline || pnpm install --frozen-lockfile
|
||||
# Generate prisma client before building
|
||||
RUN pnpm --filter api exec prisma generate
|
||||
RUN pnpm turbo run build --filter=api...
|
||||
|
||||
Reference in New Issue
Block a user