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