修改错误的docker

This commit is contained in:
zeroBlack
2021-03-11 21:38:04 +08:00
parent 10e10063ad
commit eac6d033fe
2 changed files with 8 additions and 8 deletions
@@ -73,13 +73,13 @@ services:
environment:
- TZ=Asia/Shanghai
# jero-boot-xxljob:
# build:
# context: ./jero-cloud-xxljob
# ports:
# - 9080:9080
# container_name: jero-boot-xxljob
# hostname: jero-boot-xxljob
jero-boot-xxljob:
build:
context: ./jero-cloud-xxljob
ports:
- 9080:9080
container_name: jero-boot-xxljob
hostname: jero-boot-xxljob
# jero-boot-rabbitmq:
# # image: rabbitmq:3-management
@@ -12,4 +12,4 @@ EXPOSE 9999
ADD ./target/jero-cloud-gateway-2.4.2.jar ./
CMD sleep 10;java -Dfile.encoding=utf-8 -Djava.security.egd=file:/dev/./urandom -jar jero-cloud-gateway-2.4.2.jar
CMD java -Dfile.encoding=utf-8 -Djava.security.egd=file:/dev/./urandom -jar jero-cloud-gateway-2.4.2.jar