asdasd
This commit is contained in:
@@ -16,8 +16,7 @@ RUN corepack enable && corepack prepare pnpm@latest --activate
|
||||
COPY package.json pnpm-lock.yaml ./
|
||||
|
||||
# Install dependencies with pnpm cache mount for faster builds
|
||||
RUN --mount=type=cache,id=pnpm,target=/root/.local/share/pnpm \
|
||||
--mount=type=cache,id=node_modules,target=/app/node_modules \
|
||||
RUN --mount=type=cache,id=pnpm-store,target=/root/.pnpm-store \
|
||||
pnpm install --frozen-lockfile
|
||||
|
||||
# Copy source code after dependencies are installed (for better caching)
|
||||
|
||||
Reference in New Issue
Block a user