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.
This commit is contained in:
Your Name committed 2026-10-04 21:29:52 +02:00
1 parent 225da9253c
commit fc4bb11c41
1 file changed
+1 -1
+1 -1
View File
@@ -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