Dockerfile 168 B

1234567
  1. # 选择运行时基础镜像
  2. FROM tencent-kona-jdk:17.0.9
  3. RUN mkdir "/app"
  4. WORKDIR /app
  5. COPY target/*.jar /app/app.jar
  6. EXPOSE 9500
  7. ENTRYPOINT ["java","-jar","app.jar"]