Skip to content

Commit 1259db8

Browse files
committed
Update Dockerfile
1 parent 5f887ed commit 1259db8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
FROM golang:1.23-alpine AS builder
22
WORKDIR /src
3-
COPY go.mod .
4-
COPY *.go .
3+
COPY src/go.mod .
4+
COPY src/*.go .
55
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go mod download
66
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags="-s -w" -o /traefik-merge traefik-merge.go
77

0 commit comments

Comments
 (0)