|
|
@ -33,7 +33,7 @@ FROM eclipse-temurin:17-jre-focal
|
|
|
|
EXPOSE 8080
|
|
|
|
EXPOSE 8080
|
|
|
|
VOLUME /tmp
|
|
|
|
VOLUME /tmp
|
|
|
|
ARG DEPENDENCY=/workdir/server/target/dependency
|
|
|
|
ARG DEPENDENCY=/workdir/server/target/dependency
|
|
|
|
COPY --from=builder ${DEPENDENCY}/BOOT-INF/lib /app/lib
|
|
|
|
COPY --from=prepare-production ${DEPENDENCY}/BOOT-INF/lib /app/lib
|
|
|
|
COPY --from=builder ${DEPENDENCY}/META-INF /app/META-INF
|
|
|
|
COPY --from=prepare-production ${DEPENDENCY}/META-INF /app/META-INF
|
|
|
|
COPY --from=builder ${DEPENDENCY}/BOOT-INF/classes /app
|
|
|
|
COPY --from=prepare-production ${DEPENDENCY}/BOOT-INF/classes /app
|
|
|
|
ENTRYPOINT ["java","-cp","app:app/lib/*","com.company.project.Application"]
|
|
|
|
ENTRYPOINT ["java","-cp","app:app/lib/*","com.company.project.Application"]
|