DockerfileGraalvm 183 B

12345678
  1. # 选择运行时基础镜像
  2. FROM graalvm-ce:jdk17-js
  3. #RUN mkdir "/app"
  4. WORKDIR /app
  5. RUN gu install js
  6. COPY target/*.jar /app/app.jar
  7. EXPOSE 9500
  8. ENTRYPOINT ["java","-jar","app.jar"]