1、Dockerfile-server
FROM openjdk:8-jdk-alpine
WORKDIR /app
COPY . .
CMD java -Xms1536M -Xmx1536M -XX:+UseG1GC -jar -Dlog4j2.formatMsgNoLookups=true -Dloader.path=resources,lib -Duser.timezone=GMT-05 /app/server-main-1.0.0.jar
2、Dockerfile-bgd
#FROM openjdk:14-jdk-alpine
FROM openjdk:8-jdk-alpine
#FROM dolis_java8
WORKDIR /app
#ADD . .
COPY . .
#EXPOSE
CMD java -Xms2048M -Xmx2048M -jar -Dfile.encoding=utf-8 -Duser.timezone=GMT-05 -Dloader.path=resources,lib bgd-main-1.0.0.jar
3、Dockerfile-server_log
#FROM openjdk:14-jdk-alpine
FROM openjdk:8-jdk-alpine
#FROM dolis_java8
WORKDIR /app
#ADD . .
COPY . .
#EXPOSE 8089
CMD java -Xms2048M -Xmx2048M -XX:+UseG1GC -jar -Dlog4j2.formatMsgNoLookups=true -Duser.timezone=GMT-05 /app/kdnn_log/kdnn_log-0.0.1.jar