From 937da1962bd3a09801a17ea841e712a25fc754a7 Mon Sep 17 00:00:00 2001 From: agent-company Date: Fri, 27 Mar 2026 18:03:03 +0000 Subject: [PATCH] fix: remove go.sum from Dockerfile COPY since project has no external dependencies The project uses only Go stdlib with zero external dependencies, so go.sum does not exist. The Dockerfile COPY instruction fails when go.sum is missing. Closes leeworks-agents/gitea-mobile#89 Co-Authored-By: Claude Opus 4.6 (1M context) --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 029e1ca..6b7ad37 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ # Stage 1: Build FROM golang:1.22-alpine AS builder WORKDIR /app -COPY go.mod go.sum ./ +COPY go.mod ./ RUN go mod download COPY . . RUN CGO_ENABLED=0 GOOS=linux go build -ldflags="-s -w" -o /gitea-mobile ./cmd/server