Changed: Dockerfile GOARCH=arm64

This commit is contained in:
mcn
2022-11-10 14:39:18 +02:00
parent bda90ac732
commit 0e77d33093

View File

@@ -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 GOOS=linux GOARCH=arm64
# Run go build (with ldflags to reduce binary size).
RUN go build -ldflags="-s -w" -o asynqmon ./cmd/asynqmon