Commit 28682f1e26ef4091537f4ffa71cfb1340e6860fa
Committed by
Gitee
1 parent
6135bc3a
update jeecg-boot/jeecg-boot-module-system/Dockerfile.
修改Dockerfile,将代码生成模板文件直接放到与jar包同级目录,确保发布后,代码生成功能直接可用,不需要做二次处理
Showing
1 changed file
with
2 additions
and
1 deletions
jeecg-boot/jeecg-boot-module-system/Dockerfile
... | ... | @@ -4,12 +4,13 @@ MAINTAINER jeecgos@163.com |
4 | 4 | |
5 | 5 | RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime |
6 | 6 | |
7 | -RUN mkdir -p /jeecg-boot | |
7 | +RUN mkdir -p /jeecg-boot/config/jeecg/ | |
8 | 8 | |
9 | 9 | WORKDIR /jeecg-boot |
10 | 10 | |
11 | 11 | EXPOSE 8080 |
12 | 12 | |
13 | +ADD ./src/main/resources/jeecg ./config/jeecg | |
13 | 14 | ADD ./target/jeecg-boot-module-system-3.0.jar ./ |
14 | 15 | |
15 | 16 | CMD sleep 60;java -Djava.security.egd=file:/dev/./urandom -jar jeecg-boot-module-system-3.0.jar |
16 | 17 | \ No newline at end of file |
... | ... |