拆分出单体启动项目 jeecg-system-start

pull/4001/head
zhangdaiscott 2 years ago
parent 3d09762848
commit dcfaaa37ab

@ -30,7 +30,7 @@ services:
jeecg-boot-system:
build:
context: ./jeecg-module-system/jeecg-system-biz
context: ./jeecg-module-system/jeecg-system-start
restart: on-failure
depends_on:
- jeecg-boot-mysql

@ -4,13 +4,13 @@ MAINTAINER jeecgos@163.com
RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
RUN mkdir -p /jeecg-boot/config/jeecg/
#RUN mkdir -p /jeecg-boot/config/jeecg/
WORKDIR /jeecg-boot
EXPOSE 8080
ADD ./src/main/resources/jeecg ./config/jeecg
ADD ./target/jeecg-system-biz-3.4.0.jar ./
#ADD ./src/main/resources/jeecg ./config/jeecg
ADD ./target/jeecg-system-start-3.4.0.jar ./
CMD sleep 60;java -Djava.security.egd=file:/dev/./urandom -jar jeecg-system-biz-3.4.0.jar
CMD sleep 60;java -Djava.security.egd=file:/dev/./urandom -jar jeecg-system-start-3.4.0.jar
Loading…
Cancel
Save