fix: add missing discord-video-stream package.json to Docker build context

The Dockerfile was only copying discord.js-selfbot-v13/package.json but not
discord-video-stream/package.json before running pnpm install. This caused
pnpm to fail with ERR_PNPM_WORKSPACE_PKG_NOT_FOUND since @dank074/discord-video-stream
is declared as a workspace dependency but its package.json wasn't available.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
MythEclipse
2026-05-19 17:49:14 +07:00
co-authored by Claude Opus 4.7
parent 12424e5391
commit 31e8de3185
+1
View File
@@ -21,6 +21,7 @@ WORKDIR /app
# Install dependencies first for better caching # Install dependencies first for better caching
COPY package.json pnpm-lock.yaml pnpm-workspace.yaml* ./ COPY package.json pnpm-lock.yaml pnpm-workspace.yaml* ./
COPY vendor/discord-video-stream/package.json ./vendor/discord-video-stream/package.json
COPY vendor/discord.js-selfbot-v13/package.json ./vendor/discord.js-selfbot-v13/package.json COPY vendor/discord.js-selfbot-v13/package.json ./vendor/discord.js-selfbot-v13/package.json
# Allow install to proceed in CI/docker build even if lockfile is slightly out of date. # Allow install to proceed in CI/docker build even if lockfile is slightly out of date.
# Prefer updating pnpm-lock.yaml in the repo as a long-term fix. # Prefer updating pnpm-lock.yaml in the repo as a long-term fix.