mirror of
https://gitee.com/BDWare/router-backend
synced 2025-01-10 18:04:05 +00:00
16 lines
587 B
Docker
16 lines
587 B
Docker
|
FROM openjdk:8
|
||
|
|
||
|
ARG GOPRIVATE=bdware.org/*
|
||
|
ARG GOPROXY=https://goproxy.cn
|
||
|
|
||
|
LABEL maintainer="caihuaqian@internetapi.cn"
|
||
|
LABEL org.bdware.version="1.5.0"
|
||
|
LABEL org.bdware.version.isproduction="false"
|
||
|
LABEL org.bdware.release-date="2021-08-09"
|
||
|
|
||
|
COPY ./output /bdcluster
|
||
|
WORKDIR /bdcluster
|
||
|
VOLUME /bdcluster/NodeCenterDB /bdcluster/rocksdb
|
||
|
ENTRYPOINT ["java"]
|
||
|
CMD ["-Dfile.encoding=UTF-8", "-cp", "./libs/*:bdcluster.jar", "org.bdware.server.NodeCenterServer", "-service-port=21040", "-do-repo-ip=localhost","-do-repo-port=21042", "-enable-ssl=./ssl/chained.pem:./ssl/domain.pem"]
|