diff --git a/Dockerfile b/Dockerfile index 4b05449..3cacbd6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ FROM golang:alpine AS build MAINTAINER chris RUN apk add git --no-cache && \ - go install -x github.com/mdlayher/apcupsd_exporter@latest + go build -x github.com/mdlayher/apcupsd_exporter@latest -o /go/bin/apcupsd_exporter FROM alpine:latest