wIK5Ez2o commited on
Commit
468a4bc
·
verified ·
1 Parent(s): 53f6eda

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -1
Dockerfile CHANGED
@@ -2,7 +2,7 @@ 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 && ls -al /go
6
  RUN sed -i 's/ind := strings.Index(path, importPath)/ind := strings.Index(path, importPath)\n println(path + ", " + importPath)/g' \
7
  > github.com/bincooo/[email protected]/internal/module/interface.go
8
  RUN make install
 
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 && ls -al /go/pkg
6
  RUN sed -i 's/ind := strings.Index(path, importPath)/ind := strings.Index(path, importPath)\n println(path + ", " + importPath)/g' \
7
  > github.com/bincooo/[email protected]/internal/module/interface.go
8
  RUN make install