fix: route issues
This commit is contained in:
@@ -2,11 +2,14 @@ FROM docker.hub.ipao.vip/golang:1.22-alpine as builder
|
||||
|
||||
COPY . /app
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
RUN go env -w GOPROXY=https://go.hub.ipao.vip,direct && \
|
||||
go env -w GO111MODULE=on && \
|
||||
cd /app && \
|
||||
go mod tidy && \
|
||||
go build -o /app/exporter .
|
||||
go mod tidy
|
||||
|
||||
RUN go build -o /app/exporter .
|
||||
|
||||
|
||||
FROM docker.hub.ipao.vip/alpine:3.20
|
||||
|
||||
Reference in New Issue
Block a user