fix: strip stale lattice checksum, keep go.sum for replace directives

This commit is contained in:
2025-12-28 08:56:59 -08:00
parent b6d4bdd9e1
commit 743acd9018
2 changed files with 2 additions and 3 deletions
-1
View File
@@ -51,4 +51,3 @@ Makefile
# Docs
*.md
LICENSE
go.sum
+2 -2
View File
@@ -21,8 +21,8 @@ ENV GONOSUMDB=github.com/luxfi/*,github.com/hanzoai/*
ENV GOFLAGS=-mod=mod
WORKDIR /app
COPY go.mod ./
RUN go mod download
COPY go.mod go.sum ./
RUN sed -i '/luxfi\/lattice/d' go.sum && go mod download
COPY . .
COPY --from=ui /ui/dist ./ui/dist/