From ef2901037ef0c78efa8a70c00d9d6f61df17e48c Mon Sep 17 00:00:00 2001 From: jay <75509151@qq.com> Date: Mon, 7 Aug 2023 16:54:42 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20docker=E6=9E=84=E5=BB=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 2 -- docker-compose/docker-compose-iita.yml | 3 ++- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index b41f8bcf..0c46d671 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,5 +4,3 @@ ADD iot-starter/target/iot-starter-0.4.5-SNAPSHOT.jar /app/app.jar ADD data/init /app/data/init ADD data/components /app/data/components ADD data/converters /app/data/converters -EXPOSE 8086 -ENTRYPOINT ["java", "-classpath", ".:lib/*","cc.iotkit.Application"] diff --git a/docker-compose/docker-compose-iita.yml b/docker-compose/docker-compose-iita.yml index 9e4dac0f..c03dfe3c 100644 --- a/docker-compose/docker-compose-iita.yml +++ b/docker-compose/docker-compose-iita.yml @@ -14,7 +14,8 @@ services: network_mode: "host" volumes: # - ./admin-service.jar:/admin-service.jar - - /app/data:/app/data/ + - /app/data/components:/app/data/components + - /app/data/converters:/app/data/converters - /app/config:/app/config/ - /app/log:/app/log/ command: