荣数api转发
This commit is contained in:
parent
f1aa904c7c
commit
7f7cf3dc9f
|
@ -1,7 +1,7 @@
|
||||||
FROM golang:1.21.10-alpine AS builder
|
FROM golang:1.21.10-alpine AS builder
|
||||||
|
|
||||||
LABEL stage=gobuilder
|
LABEL stage=gobuilder
|
||||||
|
RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories/
|
||||||
ENV CGO_ENABLED 0
|
ENV CGO_ENABLED 0
|
||||||
ENV GOPROXY https://goproxy.cn,direct
|
ENV GOPROXY https://goproxy.cn,direct
|
||||||
WORKDIR /src
|
WORKDIR /src
|
||||||
|
@ -27,5 +27,5 @@ RUN sed -i 's/\r//g' /opt/startup.sh
|
||||||
ADD ./sh/supervisord.conf /etc/supervisord.conf
|
ADD ./sh/supervisord.conf /etc/supervisord.conf
|
||||||
|
|
||||||
WORKDIR /src
|
WORKDIR /src
|
||||||
EXPOSE 10001
|
EXPOSE 10101
|
||||||
#CMD ["sh","/opt/startup.sh"]
|
#CMD ["sh","/opt/startup.sh"]
|
||||||
|
|
Loading…
Reference in New Issue