add docker scripts

This commit is contained in:
CaiHQ 2021-12-03 09:16:35 +08:00
parent 3bcd652421
commit 2ac5c153de

View File

@ -1,15 +0,0 @@
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"]