Skip to content

Commit 103dd69

Browse files
committed
build: Add .npmrc to Dockerfile COPY instruction.
1 parent cd036e5 commit 103dd69

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ RUN apk add --no-cache libc6-compat
88
WORKDIR /app
99

1010
# Install dependencies based on the preferred package manager
11-
COPY package.json yarn.lock* package-lock.json* pnpm-lock.yaml* ./
11+
COPY package.json yarn.lock* package-lock.json* pnpm-lock.yaml* .npmrc* ./
1212
RUN \
1313
if [ -f yarn.lock ]; then yarn --frozen-lockfile; \
1414
elif [ -f package-lock.json ]; then npm ci; \

0 commit comments

Comments
 (0)