ltxlong commited on
Commit
38e9d45
·
verified ·
1 Parent(s): 760689f

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +0 -1
Dockerfile CHANGED
@@ -15,7 +15,6 @@ WORKDIR /build
15
  # 安装 git
16
  RUN apk add --no-cache git \
17
  && git clone https://github.com/deanxv/genspark2api.git . \
18
- && sed -i 's|router.Group("/v1")|router.Group("/hf/v1")|' router/api-router.go \
19
  && sed -i 's|router.GET("/")|router.GET("/", func(c *gin.Context) { c.String(200, "Hello World!") })|' router/api-router.go \
20
  && go mod download && go build -o /genspark2api
21
 
 
15
  # 安装 git
16
  RUN apk add --no-cache git \
17
  && git clone https://github.com/deanxv/genspark2api.git . \
 
18
  && sed -i 's|router.GET("/")|router.GET("/", func(c *gin.Context) { c.String(200, "Hello World!") })|' router/api-router.go \
19
  && go mod download && go build -o /genspark2api
20