mirror of
https://github.com/dalbodeule/hop-gate.git
synced 2025-12-07 20:35:44 +09:00
[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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user