Update Dockerfile.next

This commit is contained in:
Andras Bacsai
2024-04-18 11:17:59 +02:00
committed by GitHub
parent f3c4958328
commit 8217be475e

View File

@@ -32,7 +32,7 @@ WORKDIR /app
# Copy package.json and pnpm-lock.yaml before other files # Copy package.json and pnpm-lock.yaml before other files
# Utilise Docker cache to save re-installing dependencies if unchanged # Utilise Docker cache to save re-installing dependencies if unchanged
COPY package.json ./ COPY package.json ./
COPY pnpm-lock.yaml ./ COPY package-lock.json ./
# Install dependencies # Install dependencies
RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install --frozen-lockfile RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install --frozen-lockfile