Fix Docker builds by installing deps without strict lockfile platform mismatches.

Windows-generated locks can omit Linux optional packages; npm install keeps the image buildable.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Songs2YT
2026-07-25 04:21:12 +02:00
co-authored by Cursor
parent 3126784e94
commit 0b1a88b070
3 changed files with 12 additions and 2 deletions
+6 -1
View File
@@ -9,6 +9,8 @@
"version": "0.1.0",
"dependencies": {
"@auth/prisma-adapter": "^2.7.4",
"@emnapi/core": "1.11.2",
"@emnapi/runtime": "1.11.2",
"@prisma/client": "^6.1.0",
"@tailwindcss/typography": "^0.5.20",
"bullmq": "^5.34.5",
@@ -33,6 +35,10 @@
"tailwindcss": "^3.4.17",
"tsx": "^4.19.2",
"typescript": "^5.7.2"
},
"optionalDependencies": {
"@emnapi/core": "1.11.2",
"@emnapi/runtime": "1.11.2"
}
},
"node_modules/@alloc/quick-lru": {
@@ -144,7 +150,6 @@
"version": "1.2.2",
"resolved": "https://registry.npmjs.org/@emnapi/wasi-threads/-/wasi-threads-1.2.2.tgz",
"integrity": "sha512-c95qOXkHdydNKhscBTebqEC1CVAZpyqOfVfBzQ1qgzyl3gfeldUjIggDbIZgDKsHLgnsM+igH7TJ/eAasaVuMA==",
"dev": true,
"license": "MIT",
"optional": true,
"dependencies": {