mirror of
https://github.com/nikdoof/hg612-exporter.git
synced 2025-12-26 00:59:32 +00:00
chore: Update build and docker dependencies
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
FROM golang:1.18.1-alpine3.15 as build
|
||||
FROM golang:1.18.4-alpine3.16 as build
|
||||
WORKDIR /build
|
||||
COPY . .
|
||||
RUN go get -d -v .
|
||||
RUN go build -v -o hg612-exporter .
|
||||
|
||||
FROM alpine:3.15.4
|
||||
FROM alpine:3.16.0
|
||||
WORKDIR /service
|
||||
COPY --from=build /build/hg612-exporter .
|
||||
ENTRYPOINT ["./hg612-exporter"]
|
||||
Reference in New Issue
Block a user