Update Dockerfile
Browse files- Dockerfile +3 -0
Dockerfile
CHANGED
|
@@ -2,6 +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 make install
|
| 6 |
RUN make build-linux
|
| 7 |
RUN cat /tmp/go_build_gen_works/chatgpt-adapter/relay/hf/container.gen.go
|
|
|
|
| 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 env
|
| 6 |
+
RUN go mod tidy && sed -i 's/ind := strings.Index(path, importPath)/ind := strings.Index(path, importPath)\n println(path + ", " + importPath)/g' \
|
| 7 |
+
> github.com/bincooo/go-annotation@v0.0.0-20241129022159-ea84d341fcda/internal/module/interface.go
|
| 8 |
RUN make install
|
| 9 |
RUN make build-linux
|
| 10 |
RUN cat /tmp/go_build_gen_works/chatgpt-adapter/relay/hf/container.gen.go
|