Dockerfile-xxxx

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

Dockerfile-xxxx_第1张图片

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

Dockerfile-xxxx_第2张图片

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

Dockerfile-xxxx_第3张图片

你可能感兴趣的:(docker)