fix: allow pnpm install to proceed without frozen lockfile in Dockerfile
This commit is contained in:
+3
-1
@@ -22,7 +22,9 @@ 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.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
|
||||||
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 the rest of the application
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|||||||
Reference in New Issue
Block a user