部署文件

This commit is contained in:
yuzl6 2024-04-06 15:36:38 +08:00
parent b07033ba51
commit 92b3efb87d
3 changed files with 6 additions and 6 deletions

View File

@ -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"]

View File

@ -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"]

View File

@ -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"]