Commit 101f4f6b authored by zhangdongdong's avatar zhangdongdong

Update Dockerfile

parent e2f42012
FROM eclipse-temurin:11-jre-alpine as builder
FROM registry.cn-hangzhou.aliyuncs.com/schbrain/jdk11 as builder
COPY ${JAR_FILE} ${APP_NAME}.jar
RUN java -Djarmode=layertools -jar ${APP_NAME}.jar extract
FROM eclipse-temurin:11-jre-alpine
FROM registry.cn-hangzhou.aliyuncs.com/schbrain/jdk11
COPY --from=builder dependencies/ ./
COPY --from=builder snapshot-dependencies/ ./
COPY --from=builder spring-boot-loader/ ./
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment