部署文件
This commit is contained in:
parent
fad4f8e19e
commit
b07033ba51
@ -2,7 +2,7 @@
|
|||||||
FROM openjdk:8-jdk-alpine
|
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"]
|
ENTRYPOINT ["java","-jar","/ruoyi-admin.jar"]
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
FROM openjdk:8-jdk-alpine
|
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"]
|
ENTRYPOINT ["java","-jar","/ruoyi-monitor.jar"]
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
FROM openjdk:8-jdk-alpine
|
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"]
|
||||||
|
Loading…
Reference in New Issue
Block a user