部署文件
This commit is contained in:
parent
b07033ba51
commit
92b3efb87d
@ -1,8 +1,8 @@
|
||||
# 使用官方的 Java 运行时作为父镜像
|
||||
FROM openjdk:8-jdk-alpine
|
||||
FROM registry.cn-qingdao.aliyuncs.com/yuzl1/jdk:21
|
||||
|
||||
# 将本地文件复制到容器中
|
||||
COPY ruoyi-admin/target/ruoyi-admin.jar /ruoyi-admin.jar
|
||||
COPY target/ruoyi-admin.jar /ruoyi-admin.jar
|
||||
|
||||
# 运行应用
|
||||
ENTRYPOINT ["java","-jar","/ruoyi-admin.jar"]
|
@ -1,8 +1,8 @@
|
||||
# 使用官方的 Java 运行时作为父镜像
|
||||
FROM openjdk:8-jdk-alpine
|
||||
FROM registry.cn-qingdao.aliyuncs.com/yuzl1/jdk:21
|
||||
|
||||
# 将本地文件复制到容器中
|
||||
COPY ruoyi-extra/ruoyi-monitor/target/ruoyi-monitor.jar /ruoyi-monitor.jar
|
||||
COPY target/ruoyi-monitor.jar /ruoyi-monitor.jar
|
||||
|
||||
# 运行应用
|
||||
ENTRYPOINT ["java","-jar","/ruoyi-monitor.jar"]
|
@ -1,8 +1,8 @@
|
||||
# 使用官方的 Java 运行时作为父镜像
|
||||
FROM openjdk:8-jdk-alpine
|
||||
FROM registry.cn-qingdao.aliyuncs.com/yuzl1/jdk:21
|
||||
|
||||
# 将本地文件复制到容器中
|
||||
COPY ruoyi-extra/ruoyi-powerjob-server/target/ruoyi-powerjob-server.jar /ruoyi-powerjob-server.jar
|
||||
COPY target/ruoyi-powerjob-server.jar /ruoyi-powerjob-server.jar
|
||||
|
||||
# 运行应用
|
||||
ENTRYPOINT ["java","-jar","/ruoyi-powerjob-server.jar"]
|
Loading…
Reference in New Issue
Block a user