Skip to content

Commit

Permalink
fix(docker): copy .npmrc before installing deps (#86)
Browse files Browse the repository at this point in the history
Signed-off-by: Tomas Pilar <[email protected]>
  • Loading branch information
pilartomas authored Nov 21, 2024
1 parent a8d3d33 commit 92f3ce3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ ENV CI=1
ENV HUSKY=0

# Install dependencies based on the preferred package manager
COPY package.json pnpm-lock.yaml* ./
COPY package.json pnpm-lock.yaml* .npmrc ./
RUN corepack enable pnpm && pnpm i --frozen-lockfile

# Rebuild the source code only when needed
Expand Down

0 comments on commit 92f3ce3

Please sign in to comment.