chore: docker构建
parent
43df7c4ff5
commit
ef2901037e
|
@ -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/init /app/data/init
|
||||||
ADD data/components /app/data/components
|
ADD data/components /app/data/components
|
||||||
ADD data/converters /app/data/converters
|
ADD data/converters /app/data/converters
|
||||||
EXPOSE 8086
|
|
||||||
ENTRYPOINT ["java", "-classpath", ".:lib/*","cc.iotkit.Application"]
|
|
||||||
|
|
|
@ -14,7 +14,8 @@ services:
|
||||||
network_mode: "host"
|
network_mode: "host"
|
||||||
volumes:
|
volumes:
|
||||||
# - ./admin-service.jar:/admin-service.jar
|
# - ./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/config:/app/config/
|
||||||
- /app/log:/app/log/
|
- /app/log:/app/log/
|
||||||
command:
|
command:
|
||||||
|
|
Loading…
Reference in New Issue