We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c9fcb5 commit dff000aCopy full SHA for dff000a
Dockerfile
@@ -69,7 +69,6 @@ RUN git init && \
69
# Download dependiencies before copying the source so they will be cached
70
COPY go.mod go.sum ./
71
RUN go mod download
72
-RUN go mod vendor
73
74
75
###############################################################################
@@ -82,6 +81,9 @@ LABEL image="build"
82
81
# Copy the source
83
COPY . ./
84
+# Copy packages into vendor
85
+RUN go mod vendor
86
+
87
# Build the binaries
88
RUN go build -o puller model-serving-puller/main.go
89
RUN go build -o triton-adapter model-mesh-triton-adapter/main.go
0 commit comments