From ab51b4b504b1c0a8b44a4925d4bd56b13711ca2e Mon Sep 17 00:00:00 2001 From: doomtube Date: Thu, 8 Jan 2026 00:58:21 -0500 Subject: [PATCH] fixes lol --- nakama/Dockerfile | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/nakama/Dockerfile b/nakama/Dockerfile index 96296bc..9927656 100644 --- a/nakama/Dockerfile +++ b/nakama/Dockerfile @@ -12,15 +12,13 @@ FROM heroiclabs/nakama-pluginbuilder:3.35.1 AS builder WORKDIR /backend -# Copy Go module files +# Copy Go module files and source COPY go-modules/go.mod go-modules/go.sum* ./ - -# Download dependencies -RUN go mod download 2>/dev/null || go mod tidy - -# Copy source COPY go-modules/*.go ./ +# Generate go.sum and download dependencies +RUN go mod tidy + # Build the plugin as a shared library RUN go build -buildmode=plugin -trimpath -o backend.so .