We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7eeb6a5 commit 9fa1c40Copy full SHA for 9fa1c40
Dockerfile
@@ -8,14 +8,14 @@ FROM base AS deps
8
# RUN apk add --no-cache libc6-compat
9
WORKDIR /app
10
11
+# Install dependencies based on the preferred package manager
12
+COPY package.json package-lock.json* .npmrc* source.config.ts ./
13
+
14
# install corepack and enable it
15
RUN npm install -g corepack@latest
16
RUN corepack enable
17
RUN corepack install
18
-# Install dependencies based on the preferred package manager
-COPY package.json package-lock.json* .npmrc* source.config.ts ./
-
19
RUN --mount=type=cache,target=/root/.npm npm ci
20
21
# Rebuild the source code only when needed
0 commit comments