Update Dockerfile
Browse files- Dockerfile +3 -3
 
    	
        Dockerfile
    CHANGED
    
    | 
         @@ -2,9 +2,9 @@ FROM golang:1.23-alpine AS builder 
     | 
|
| 2 | 
         | 
| 3 | 
         
             
            WORKDIR /app
         
     | 
| 4 | 
         
             
            RUN apk add git make && git clone https://github.com/bincooo/chatgpt-adapter.git -b v3.0.0-beta .
         
     | 
| 5 | 
         
            -
            RUN go mod tidy  
     | 
| 6 | 
         
            -
             
     | 
| 7 | 
         
            -
             
     | 
| 8 | 
         
             
            RUN make install
         
     | 
| 9 | 
         
             
            RUN make build-linux
         
     | 
| 10 | 
         | 
| 
         | 
|
| 2 | 
         | 
| 3 | 
         
             
            WORKDIR /app
         
     | 
| 4 | 
         
             
            RUN apk add git make && git clone https://github.com/bincooo/chatgpt-adapter.git -b v3.0.0-beta .
         
     | 
| 5 | 
         
            +
            #RUN go mod tidy \
         
     | 
| 6 | 
         
            +
            #  && sed -i 's/ind := strings.Index(path, importPath)/ind := strings.Index(path, importPath)\n    if ind == -1 {\n    return path }\n    println(path + ", " + importPath)/g' \
         
     | 
| 7 | 
         
            +
            #  /go/pkg/mod/github.com/bincooo/[email protected]/internal/module/interface.go
         
     | 
| 8 | 
         
             
            RUN make install
         
     | 
| 9 | 
         
             
            RUN make build-linux
         
     | 
| 10 | 
         |