fix(docker): copy patches directory for pnpm patchedDependencies

pnpm install --frozen-lockfile fails in Docker with ENOENT when
pnpm-lock.yaml references patched dependencies (jsdoc@3.6.11.patch)
but the patches/ directory is not copied into the container.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
MythEclipse
2026-06-02 23:31:12 +07:00
co-authored by Claude Opus 4.8
parent f981d65004
commit 88a1b59f02
3 changed files with 9 additions and 0 deletions
+3
View File
@@ -10,6 +10,9 @@ COPY pnpm-workspace.yaml .
COPY pnpm-lock.yaml .
COPY package.json .
# Copy patches (pnpm patchedDependencies)
COPY patches ./patches
# Copy service
COPY services/backend ./services/backend
+3
View File
@@ -13,6 +13,9 @@ COPY package.json .
# Copy vendor packages (workspace dependencies)
COPY vendor/discord.js-selfbot-v13 ./vendor/discord.js-selfbot-v13
# Copy patches (pnpm patchedDependencies)
COPY patches ./patches
# Copy service
COPY services/discord-gateway ./services/discord-gateway
+3
View File
@@ -13,6 +13,9 @@ COPY pnpm-workspace.yaml .
COPY pnpm-lock.yaml .
COPY package.json .
# Copy patches (pnpm patchedDependencies)
COPY patches ./patches
# Copy service
COPY services/frontend ./services/frontend