This commit is contained in:
蒋海成 2025-02-24 22:33:18 +08:00
parent 9de0ddc546
commit 8f8a8dee93

View File

@ -4,7 +4,7 @@ LABEL stage=gobuilder
ENV CGO_ENABLED 0
ENV GOPROXY https://goproxy.cn,direct
WORKDIR /build
COPY micro-bundle-server /app/micro-bundle-server
COPY ./build/app /app/micro-bundle
#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 prod
WORKDIR /app
COPY --from=builder /app/micro-bundle-server .
EXPOSE 20117
CMD ["/app/micro-bundle-server"]
COPY --from=builder /app/micro-bundle .
EXPOSE 20118
CMD ["/app/micro-bundle"]