Update Dockerfile
Browse files1 unmodified line234567891 unmodified lineWORKDIR /buildRUN git clone https://github.com/MartialBE/one-api.git .RUN sed -i'' 's|router.Group("/v1|router.Group("/api/v1|g' /build/router/relay-router.goRUN sed -i'' 's|HasPrefix(path, "/v1|HasPrefix(path, "/api/v1|g' /build/relay/common.goWORKDIR /build/webRUN npm install1 unmodified line2345678910111213141 unmodified lineWORKDIR /buildRUN git clone https://github.com/MartialBE/one-api.git .RUN RUN wget -qO- -t1 -T2 "https://api.github.com/repos/MartialBE/one-hub/releases" | \grep "tag_name" | \head -n 1 | \awk -F ":" '{print $2}' | \sed 's/\"//g;s/,//g;s/ //g' > VERSION \sed -i'' 's|router.Group("/v1|router.Group("/api/v1|g' /build/router/relay-router.go \sed -i'' 's|HasPrefix(path, "/v1|HasPrefix(path, "/api/v1|g' /build/relay/common.goWORKDIR /build/webRUN npm install
Dockerfile+7-2