ruoyi-flex/DockerFile_ruoyi-powerjob-server

9 lines
282 B
Plaintext
Raw Normal View History

2024-04-06 14:31:25 +08:00
# 使用官方的 Java 运行时作为父镜像
FROM openjdk:8-jdk-alpine
# 将本地文件复制到容器中
2024-04-06 15:25:47 +08:00
COPY ruoyi-extra/ruoyi-powerjob-server/target/ruoyi-powerjob-server.jar /ruoyi-powerjob-server.jar
2024-04-06 14:31:25 +08:00
# 运行应用
2024-04-06 15:25:47 +08:00
ENTRYPOINT ["java","-jar","/ruoyi-powerjob-server.jar"]