From 3182165f9a1d5260aca0ac5512bb5cc23f8cb4c8 Mon Sep 17 00:00:00 2001 From: Nikolai Rodionov Date: Tue, 19 Mar 2024 17:12:24 +0100 Subject: [PATCH] Fix the image --- Containerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Containerfile b/Containerfile index 11078d3..79be6ae 100644 --- a/Containerfile +++ b/Containerfile @@ -5,8 +5,8 @@ COPY go.mod ./ COPY go.sum ./ RUN go mod download COPY . ./ -RUN CGO_ENABLED=0 GOOS=linux go build -o /app +RUN CGO_ENABLED=0 GOOS=linux go build -o backend FROM scratch -COPY --from=0 /app /app +COPY --from=0 /app/backend /app CMD ["/app"]