Skip to content

Commit f36cdfc

Browse files
authored
chore: add conditional copy for .npmrc
1 parent a15558d commit f36cdfc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ FROM node:20-alpine AS builder
33
WORKDIR /app
44
COPY package.json .
55
COPY yarn.lock .
6+
# Copy .npmrc if it exists, otherwise don't fail
7+
COPY .npmr[c] .
68
RUN yarn install --network-timeout 600000
79

810
COPY src/ src

0 commit comments

Comments
 (0)