fix: route issues

This commit is contained in:
Rogee
2024-09-21 14:48:31 +08:00
parent 63b0eb8b44
commit 2057de4859
3 changed files with 15 additions and 5 deletions

View File

@@ -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