Update Dockerfile
Browse files14 unmodified lines1516171819202122232414 unmodified lines# 复制整个项目并构建可执行文件RUN git clone https://github.com/deanxv/coze-discord-proxy.git .#ENV GOPROXY=https://goproxy.cn,directRUN go mod downloadRUN sed -i 's/router.Group("/v1")/router.Group("/api/v1")/' /router/api-router.goRUN go build -o /coze-discord-proxy# 使用 Alpine 镜像作为最终镜像14 unmodified lines1516171819202122232414 unmodified lines# 复制整个项目并构建可执行文件RUN git clone https://github.com/deanxv/coze-discord-proxy.git .RUN sed -i 's|router.Group("/v1")|router.Group("/api/v1")|g' /router/api-router.go#ENV GOPROXY=https://goproxy.cn,directRUN go mod downloadRUN go build -o /coze-discord-proxy# 使用 Alpine 镜像作为最终镜像
Dockerfile+2-2