Commit 71f75c6a40eaf830a5dcb8928e8e1d02c34c2ceb
1 parent
b4341087
fix: update file
Showing
1 changed file
with
2 additions
and
2 deletions
ruoyi-admin/admin-dockerfile
| @@ -16,6 +16,6 @@ RUN mkdir -p ${jar_home} | @@ -16,6 +16,6 @@ RUN mkdir -p ${jar_home} | ||
| 16 | # 指定工作区 | 16 | # 指定工作区 |
| 17 | #WORKDIR ${jar_home} | 17 | #WORKDIR ${jar_home} |
| 18 | # 把jar包复制到容器内 | 18 | # 把jar包复制到容器内 |
| 19 | -COPY /root/.jenkins/workspace/ruoyi-test-singer/ruoyi-admin/target/*.jar ${jar_home}${jar_name}.jar | 19 | +COPY . ${jar_home}${jar_name}.jar |
| 20 | # 执行命令 | 20 | # 执行命令 |
| 21 | -ENTRYPOINT java -jar ${jar_home}${jar_name}.jar --spring.profile.active=${env_file} | ||
| 22 | \ No newline at end of file | 21 | \ No newline at end of file |
| 22 | +#ENTRYPOINT java -jar ${jar_home}${jar_name}.jar --spring.profile.active=${env_file} | ||
| 23 | \ No newline at end of file | 23 | \ No newline at end of file |