From 7f7cf3dc9f70df4308738963329f4318650720b6 Mon Sep 17 00:00:00 2001 From: Rzy <465386466@qq.com> Date: Tue, 18 Jun 2024 18:23:48 +0800 Subject: [PATCH] =?UTF-8?q?=E8=8D=A3=E6=95=B0api=E8=BD=AC=E5=8F=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index a6a2e4f..0d58c6a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ FROM golang:1.21.10-alpine AS builder LABEL stage=gobuilder - +RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories/ ENV CGO_ENABLED 0 ENV GOPROXY https://goproxy.cn,direct WORKDIR /src @@ -27,5 +27,5 @@ RUN sed -i 's/\r//g' /opt/startup.sh ADD ./sh/supervisord.conf /etc/supervisord.conf WORKDIR /src -EXPOSE 10001 +EXPOSE 10101 #CMD ["sh","/opt/startup.sh"]