Skip to content

Commit afc638c

Browse files
committed
Add trailing slash in multi-file docker copy
As directed by the nvim-treesitter dockerfile parser.
1 parent 4e3a778 commit afc638c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ ARG TARGETARCH
2424
WORKDIR /build
2525

2626
# Copy just the mod file for better layer caching when building locally
27-
COPY go.mod go.sum .
27+
COPY go.mod go.sum ./
2828
RUN go mod download
2929

3030
# Now copy everything including .git

Dockerfile.dist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ USER root
3232
WORKDIR /build
3333

3434
# Copy just the mod file for better layer caching when building locally
35-
COPY go.mod go.sum .
35+
COPY go.mod go.sum ./
3636
RUN go mod download
3737

3838
# Now copy everything including .git

0 commit comments

Comments
 (0)