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"]