From fc4bb11c41610ab5c6622a7e2782374b51b0d69b Mon Sep 17 00:00:00 2001 From: Your Name Date: Sun, 4 Oct 2026 21:29:52 +0200 Subject: [PATCH] fix(backend): simplify Go build command in Dockerfile Change build command from `go build -o server ./main.go` to `go build -o server .` to build from the current directory instead of specifying main.go explicitly. --- backend/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/Dockerfile b/backend/Dockerfile index 744ce94..1e63357 100644 --- a/backend/Dockerfile +++ b/backend/Dockerfile @@ -1,7 +1,7 @@ FROM golang:1.22-alpine AS build WORKDIR /app COPY . . -RUN go build -o server ./main.go +RUN go build -o server . FROM alpine:3.20 WORKDIR /app