mirror of
https://github.com/hibiken/asynqmon.git
synced 2025-10-23 06:46:11 +08:00
fix: use implicit values for GOOS and GOARCH
This commit is contained in:
@@ -39,7 +39,7 @@ COPY . .
|
||||
COPY --from=frontend ["/static/build", "ui/build"]
|
||||
|
||||
# Set necessary environmet variables needed for the image and build the server.
|
||||
ENV CGO_ENABLED=0 GOOS=linux GOARCH=amd64
|
||||
ENV CGO_ENABLED=0
|
||||
|
||||
# Run go build (with ldflags to reduce binary size).
|
||||
RUN go build -ldflags="-s -w" -o asynqmon ./cmd/asynqmon
|
||||
|
Reference in New Issue
Block a user