chore: docker构建

V0.5.x
jay 2023-08-07 16:54:42 +08:00
parent 43df7c4ff5
commit ef2901037e
2 changed files with 2 additions and 3 deletions

View File

@ -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"]

View File

@ -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: