fix: allow pnpm install to proceed without frozen lockfile in Dockerfile

This commit is contained in:
MythEclipse
2026-05-19 16:36:13 +07:00
parent 80957d1eb3
commit 2821b4cfae
+3 -1
View File
@@ -22,7 +22,9 @@ WORKDIR /app
# Install dependencies first for better caching
COPY package.json pnpm-lock.yaml pnpm-workspace.yaml* ./
COPY vendor/discord.js-selfbot-v13/package.json ./vendor/discord.js-selfbot-v13/package.json
RUN pnpm install --frozen-lockfile
# 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.
RUN pnpm install --no-frozen-lockfile
# Copy the rest of the application
COPY . .