部署文件

This commit is contained in:
yuzl6 2024-04-06 15:25:47 +08:00
parent fad4f8e19e
commit b07033ba51
3 changed files with 4 additions and 4 deletions

View File

@ -2,7 +2,7 @@
FROM openjdk:8-jdk-alpine
# 将本地文件复制到容器中
COPY ruoyi-admin.jar /ruoyi-admin.jar
COPY ruoyi-admin/target/ruoyi-admin.jar /ruoyi-admin.jar
# 运行应用
ENTRYPOINT ["java","-jar","/ruoyi-admin.jar"]

View File

@ -2,7 +2,7 @@
FROM openjdk:8-jdk-alpine
# 将本地文件复制到容器中
COPY ruoyi-monitor.jar /ruoyi-monitor.jar
COPY ruoyi-extra/ruoyi-monitor/target/ruoyi-monitor.jar /ruoyi-monitor.jar
# 运行应用
ENTRYPOINT ["java","-jar","/ruoyi-monitor.jar"]

View File

@ -2,7 +2,7 @@
FROM openjdk:8-jdk-alpine
# 将本地文件复制到容器中
COPY ruoyi-monitor.jar /ruoyi-monitor.jar
COPY ruoyi-extra/ruoyi-powerjob-server/target/ruoyi-powerjob-server.jar /ruoyi-powerjob-server.jar
# 运行应用
ENTRYPOINT ["java","-jar","/ruoyi-monitor.jar"]
ENTRYPOINT ["java","-jar","/ruoyi-powerjob-server.jar"]