router-backend/Dockerfile
2021-09-26 13:01:04 +08:00

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"]