修改
This commit is contained in:
parent
9e14780843
commit
b738feaa32
@ -4,7 +4,7 @@ LABEL stage=gobuilder
|
||||
ENV CGO_ENABLED 0
|
||||
ENV GOPROXY https://goproxy.cn,direct
|
||||
WORKDIR /build
|
||||
COPY micro-bundle /app/micro-bundle
|
||||
COPY micro-bundle /app/micro-bundle-fiee
|
||||
|
||||
#FROM 172.16.100.99:9006/alpine
|
||||
#RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories
|
||||
@ -17,6 +17,6 @@ COPY ./conf /app/conf
|
||||
ENV TZ Asia/Shanghai
|
||||
ENV MODE_ENV k8stest
|
||||
WORKDIR /app
|
||||
COPY --from=builder /app/micro-bundle .
|
||||
COPY --from=builder /app/micro-bundle-fiee .
|
||||
EXPOSE 20118
|
||||
CMD ["/app/micro-bundle"]
|
||||
CMD ["/app/micro-bundle-fiee"]
|
||||
|
Loading…
Reference in New Issue
Block a user