OP#176 edit Dockerfile go mod step
This commit is contained in:
@@ -8,7 +8,10 @@ WORKDIR /src
|
|||||||
# Copy your local source (you already have it)
|
# Copy your local source (you already have it)
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
# Build the binary — just "make" is enough (default target = all)
|
# fix go mod
|
||||||
|
RUN go mod tidy
|
||||||
|
|
||||||
|
# Build the binary
|
||||||
RUN make
|
RUN make
|
||||||
|
|
||||||
# Verify it was built
|
# Verify it was built
|
||||||
|
|||||||
Reference in New Issue
Block a user