From 883c954b4e8dbb1b2ac77dfaba2e9751158ff658 Mon Sep 17 00:00:00 2001 From: Marvin Zhang Date: Thu, 9 Oct 2025 12:39:12 +0800 Subject: [PATCH] feat: update Dockerfile to include 'go mod tidy' before installation --- backend/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/Dockerfile b/backend/Dockerfile index 7b167fe3..43f05cf2 100644 --- a/backend/Dockerfile +++ b/backend/Dockerfile @@ -16,7 +16,7 @@ COPY ./vcs ./vcs/ ENV GO111MODULE on # Build from the backend directory which contains the main.go -RUN cd backend && go install -v ./... +RUN cd backend && go mod tidy && go install -v ./... FROM alpine:3.14