Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
@@ -8,7 +8,7 @@ RUN wget -qO- -t1 -T2 "https://api.github.com/repos/Calcium-Ion/new-api/releases
|
|
8 |
awk -F ":" '{print $2}' | \
|
9 |
sed 's/\"//g;s/,//g;s/ //g' > VERSION
|
10 |
|
11 |
-
RUN sed -i'' 's|router.Group("/v1|router.Group("/
|
12 |
RUN sed -i'' 's|HasPrefix(path, "/v1|HasPrefix(path, "/ai/v1|g' /build/relay/constant/relay_mode.go
|
13 |
|
14 |
WORKDIR /build/web
|
|
|
8 |
awk -F ":" '{print $2}' | \
|
9 |
sed 's/\"//g;s/,//g;s/ //g' > VERSION
|
10 |
|
11 |
+
RUN sed -i'' 's|router.Group("/v1|router.Group("/ai/v1|g' /build/router/relay-router.go
|
12 |
RUN sed -i'' 's|HasPrefix(path, "/v1|HasPrefix(path, "/ai/v1|g' /build/relay/constant/relay_mode.go
|
13 |
|
14 |
WORKDIR /build/web
|