Skip to content

docker windows install fail #99

@nsk

Description

@nsk

PS C:\Systemtools\open-health> docker compose up -d
[+] Running 21/21
✔ docling-serve Pulled 163.3s
✔ 5a2dfa395951 Pull complete 13.5s
✔ b7ac21cf3263 Pull complete 33.3s
✔ 4297e5d9b657 Pull complete 155.9s
✔ 23b440934161 Pull complete 1.0s
✔ 4a2d1035ce28 Pull complete 14.5s
✔ 5e6ada6c9994 Pull complete 1.1s
✔ 7638bb17677b Pull complete 159.3s
✔ 4f4fb700ef54 Pull complete 0.0s
✔ 9c5cd5827c91 Pull complete 37.7s
✔ 3d5120530c4e Pull complete 38.7s
✔ database Pulled 14.2s
✔ f5f8ead99dae Pull complete 0.4s
✔ fdb0f042d918 Pull complete 11.7s
✔ 8914ca6edcdf Pull complete 0.6s
✔ fc0ade3a132d Pull complete 0.8s
✔ 76416bd8113e Pull complete 0.7s
✔ 55a58bb42c06 Pull complete 11.8s
✔ a693e6a145c7 Pull complete 0.7s
✔ 52b431e71196 Pull complete 0.6s
✔ 71cd10be37f4 Pull complete 0.7s
[+] Building 157.2s (12/12) FINISHED
=> [internal] load local bake definitions 0.0s
=> => reading from stdin 509B 0.0s
=> [internal] load build definition from Containerfile 0.0s
=> => transferring dockerfile: 426B 0.0s
=> [internal] load metadata for docker.io/library/node:lts-alpine 2.0s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 151B 0.0s
=> [1/7] FROM docker.io/library/node:lts-alpine@sha256:d2166de198f26e17e5a442f537754dd616ab069c47cc57b889310a717 3.7s
=> => resolve docker.io/library/node:lts-alpine@sha256:d2166de198f26e17e5a442f537754dd616ab069c47cc57b889310a717 0.0s
=> => sha256:016c0e95211121b6a80955630caaca8899d6572d51c48561f95a9ad97788a63a 444B / 444B 0.3s
=> => sha256:52719e552fdfa1fbd5bd1e6ab184f77b28ec2b59509c98da3ef00ccb84385a51 1.26MB / 1.26MB 0.6s
=> => sha256:6a088b2daae062d11086b47ecffca042d75b83c6228cb05d89c60c854c3265cd 51.04MB / 51.04MB 2.0s
=> => extracting sha256:6a088b2daae062d11086b47ecffca042d75b83c6228cb05d89c60c854c3265cd 1.4s
=> => extracting sha256:52719e552fdfa1fbd5bd1e6ab184f77b28ec2b59509c98da3ef00ccb84385a51 0.0s
=> => extracting sha256:016c0e95211121b6a80955630caaca8899d6572d51c48561f95a9ad97788a63a 0.0s
=> [internal] load build context 0.5s
=> => transferring context: 1.17MB 0.4s
=> [2/7] RUN apk add -U graphicsmagick 2.2s
=> [3/7] WORKDIR /app 0.0s
=> [4/7] COPY package.json prisma/ . 0.0s
=> [5/7] RUN npm install 82.4s
=> [6/7] COPY . . 0.6s
=> ERROR [7/7] RUN npm run build && adduser --disabled-password ohuser && chown -R ohuser . 65.8s

[7/7] RUN npm run build && adduser --disabled-password ohuser && chown -R ohuser .:
0.351
0.351 > open-health@0.1.0 build
0.351 > npx prisma generate && next build
0.351
2.000 warn The configuration property package.json#prisma is deprecated and will be removed in Prisma 7. Please migrate to a Prisma config file (e.g., prisma.config.ts).
2.000 For more information, see: https://pris.ly/prisma-config
2.000
2.359 Environment variables loaded from .env
2.361 Prisma schema loaded from schema.prisma
2.893
2.893 ✔ Generated Prisma Client (v6.16.1) to ./node_modules/@prisma/client in 199ms
2.893
2.893 Start by importing your Prisma Client (See: https://pris.ly/d/importing-client)
2.893
2.893 Tip: Interested in query caching in just a few lines of code? Try Accelerate today! https://pris.ly/tip-3-accelerate
2.893
3.658 Attention: Next.js now collects completely anonymous telemetry regarding usage.
3.659 This information is used to shape Next.js' roadmap and prioritize features.
3.659 You can learn more, including how to opt-out if you'd not like to participate in this anonymous program, by visiting the following URL:
3.659 https://nextjs.org/telemetry
3.659
3.809 ▲ Next.js 15.1.6
3.809 - Environments: .env
3.809
3.844 Creating an optimized production build ...
34.69 ⚠ Compiled with warnings
34.69
34.69 ./node_modules/@prisma/client/runtime/wasm-engine-edge.js
34.69 A Node.js API is used (setImmediate at line: 11) which is not supported in the Edge Runtime.
34.69 Learn more: https://nextjs.org/docs/api-reference/edge-runtime
34.69
34.69 Import trace for requested module:
34.69 ./node_modules/@prisma/client/runtime/wasm-engine-edge.js
34.69 ./node_modules/.prisma/client/wasm.js
34.69 ./node_modules/.prisma/client/default.js
34.69 ./node_modules/@prisma/client/default.js
34.69 ./src/lib/prisma.ts
34.69 ./src/auth.ts
34.69
34.69 ./node_modules/bcryptjs/index.js
34.69 A Node.js module is loaded ('crypto' at line 32) which is not supported in the Edge Runtime.
34.69 Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime
34.69
34.69 Import trace for requested module:
34.69 ./node_modules/bcryptjs/index.js
34.69 ./src/auth.ts
34.69
34.69 ./node_modules/bcryptjs/index.js
34.69 A Node.js API is used (process.nextTick at line: 337) which is not supported in the Edge Runtime.
34.69 Learn more: https://nextjs.org/docs/api-reference/edge-runtime
34.69
34.69 Import trace for requested module:
34.69 ./node_modules/bcryptjs/index.js
34.69 ./src/auth.ts
34.69
34.69 ./node_modules/bcryptjs/index.js
34.69 A Node.js API is used (setImmediate at line: 338) which is not supported in the Edge Runtime.
34.69 Learn more: https://nextjs.org/docs/api-reference/edge-runtime
34.69
34.69 Import trace for requested module:
34.69 ./node_modules/bcryptjs/index.js
34.69 ./src/auth.ts
34.69
34.69 ./node_modules/bcryptjs/index.js
34.69 A Node.js API is used (setImmediate at line: 339) which is not supported in the Edge Runtime.
34.69 Learn more: https://nextjs.org/docs/api-reference/edge-runtime
34.69
34.69 Import trace for requested module:
34.69 ./node_modules/bcryptjs/index.js
34.69 ./src/auth.ts
34.69
34.69 ./node_modules/bcryptjs/index.js
34.69 A Node.js API is used (process.nextTick at line: 340) which is not supported in the Edge Runtime.
34.69 Learn more: https://nextjs.org/docs/api-reference/edge-runtime
34.69
34.69 Import trace for requested module:
34.69 ./node_modules/bcryptjs/index.js
34.69 ./src/auth.ts
34.69
34.70 Linting and checking validity of types ...
38.45
38.45 ./src/app/onboarding/page.tsx
38.45 43:8 Warning: React Hook useEffect has a missing dependency: 'submit'. Either include it or remove the dependency array. react-hooks/exhaustive-deps
38.45
38.45 ./src/components/chat/chat-setting-side-bar.tsx
38.45 53:8 Warning: React Hook useEffect has a missing dependency: 'onChangeChatRoom'. Either include it or remove the dependency array. react-hooks/exhaustive-deps
38.45 61:8 Warning: React Hook useEffect has a missing dependency: 'chatRoomData.chatRoom.assistantMode'. Either include it or remove the dependency array. react-hooks/exhaustive-deps
38.45 77:8 Warning: React Hook useEffect has missing dependencies: 'selectedLLMProvider' and 'selectedLLMProviderModel'. Either include them or remove the dependency array. react-hooks/exhaustive-deps
38.45
38.45 ./src/components/source/source-add-screen.tsx
38.45 505:8 Warning: React Hook useMemo has a missing dependency: 'userBloodTestResults?.test_result'. Either include it or remove the dependency array. react-hooks/exhaustive-deps
38.45 611:8 Warning: React Hook useEffect has missing dependencies: 'currentPageTestResults' and 'userBloodTestResultsPage'. Either include them or remove the dependency array. react-hooks/exhaustive-deps
38.45
38.45 info - Need to disable some ESLint rules? Learn more here: https://nextjs.org/docs/app/api-reference/config/eslint#disabling-rules
64.75 Failed to compile.
64.75
64.75 ./src/app/api/static/uploads/[filename]/route.ts:18:25
64.75 Type error: Argument of type 'Buffer' is not assignable to parameter of type 'BodyInit | null | undefined'.
64.75 Type 'Buffer' is missing the following properties from type 'URLSearchParams': size, append, delete, get, and 2 more.
64.75
64.75 16 |
64.75 17 | // Response blob
64.75 > 18 | return new Response(file, {
64.75 | ^
64.75 19 | headers: {
64.75 20 | 'Content-Type': 'application/octet-stream',
64.75 21 | 'Content-Disposition': attachment; filename=${filename}
64.87 Static worker exited with code: 1 and signal: null


Containerfile:14


13 |

14 | >>> RUN npm run build && \

15 | >>> adduser --disabled-password ohuser && \

16 | >>> chown -R ohuser .

17 |


failed to solve: process "/bin/sh -c npm run build && adduser --disabled-password ohuser && chown -R ohuser ." did not complete successfully: exit code: 1

View build details: docker-desktop://dashboard/build/desktop-linux/desktop-linux/rxzi8qnksxxkr4z3ue5dn7wnf

PS C:\Systemtools\open-health>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions