Skip to content

⚡️⚡️⚡️ Self-hosted collaborative bookmark manager to collect, read, annotate, and fully preserve what matters, all in one place.

fix #1752

daniel31x139acf4c2b6543
diff --git a/Dockerfile b/Dockerfile
index 7c225352..9e6b8616 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -67,10 +67,12 @@ RUN set -eux && \
# Copy ONLY the clean production assets from Stage 2
COPY --from=app-builder /data/node_modules ./node_modules
-COPY --from=app-builder /data/package.json ./package.json
+COPY --from=app-builder /data/package.json /data/yarn.lock /data/.yarnrc.yml ./
COPY --from=app-builder /data/apps/web ./apps/web
COPY --from=app-builder /data/apps/worker ./apps/worker
COPY --from=app-builder /data/packages ./packages
+ENV COREPACK_ENABLE_DOWNLOAD_PROMPT=0
+RUN corepack enable && corepack install
# Install only the Chromium headless shell (Playwright's smallest browser) plus
# the shared libraries it needs at runtime. Full Chromium is not required.
diff --git a/package.json b/package.json
index 37c26420..f914ec6b 100644
--- a/package.json
+++ b/package.json
@@ -26,11 +26,11 @@
"postinstall": "yarn workspace @linkwarden/web run postinstall && patch-package"
},
"devDependencies": {
- "dotenv-cli": "^8.0.0",
"vitest": "^4.0.17"
},
"dependencies": {
"concurrently": "^9.1.2",
+ "dotenv-cli": "^8.0.0",
"patch-package": "^8.0.0"
},
"resolutions": {