diff --git a/Dockerfile b/Dockerfile index c040309..51dff90 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,8 +12,9 @@ RUN apk update --no-cache && apk add --no-cache tzdata ca-certificates WORKDIR /build -# Copy go.mod and go.sum first to take advantage of Docker caching +# Copy go.mod, go.sum, and replace targets (third_party) before downloading deps COPY go.mod go.sum ./ +COPY third_party/ ./third_party/ RUN go mod download # Copy the rest of the application code