From e668e795fb4b6a99324f86b93c142c646767530a Mon Sep 17 00:00:00 2001 From: Mohammad Mahdi Date: Sun, 18 May 2025 13:02:24 +0330 Subject: [PATCH] Fix build path to specify main.go entry point in Dockerfile --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index cd2de95..2259884 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,7 +13,7 @@ RUN go mod download COPY cmd/ ./ COPY internal ./ -RUN CGO_ENABLED=0 GOOS=linux go build -o /CatsOfMastodonGo +RUN CGO_ENABLED=0 GOOS=linux go build -o /CatsOfMastodonGo cmd/CatsOfMastodonBotGo/main.go # Deploy the application binary into a lean image FROM gcr.io/distroless/static-debian12 AS build-release-stage