[chore](build): remove redundant GOARCH flag from server Dockerfile

- Simplified the build stage by eliminating the unused `GOARCH` flag, ensuring compatibility with the default architecture.
This commit is contained in:
dalbodeule
2025-11-27 18:51:04 +09:00
parent 1c9f287cd7
commit 88ebbd1ce7

View File

@@ -30,7 +30,7 @@ RUN go mod download || true
COPY . .
# 서버 바이너리 빌드
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o /out/hop-gate-server ./cmd/server
RUN CGO_ENABLED=0 GOOS=linux go build -o /out/hop-gate-server ./cmd/server
# ---------- Runtime stage ----------
FROM alpine:3.20