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