Skip to content

Commit 582173a

Browse files
committed
fix: use wildcard COPY for package files in Dockerfile
The repo has no package-lock.json at root, causing Docker build to fail with 'checksum of ref.../package-lock.json: not found'. Using wildcard pattern makes the copy optional and fixes the CI build. closes BlockHaven-Labs#616, closes BlockHaven-Labs#618, closes BlockHaven-Labs#620, closes BlockHaven-Labs#625
1 parent 3d8bb53 commit 582173a

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
@@ -3,7 +3,7 @@ FROM node:20-alpine AS base
33
FROM base AS deps
44
RUN apk add --no-cache libc6-compat
55
WORKDIR /app
6-
COPY package.json package-lock.json ./
6+
COPY package*.json ./
77
COPY apps/web/package.json ./apps/web/
88
RUN npm ci
99

0 commit comments

Comments
 (0)