Merge branch 'feature-BOX一期' of http://47.99.132.106:10081/wulin/qiuguo-iot into feature-BOX一期
This commit is contained in:
commit
42250796e6
15
docker/qiuguo/gateway/dockerfile
Normal file
15
docker/qiuguo/gateway/dockerfile
Normal file
@ -0,0 +1,15 @@
|
||||
# 基础镜像
|
||||
FROM openjdk:8-jre
|
||||
# author
|
||||
MAINTAINER qiuguo
|
||||
|
||||
# 挂载目录
|
||||
VOLUME /home/qiuguo
|
||||
# 创建目录
|
||||
RUN mkdir -p /home/qiuguo
|
||||
# 指定路径
|
||||
WORKDIR /home/qiuguo
|
||||
# 复制jar文件到路径
|
||||
COPY ./jar/iot-gateway.jar /home/qiuguo/iot-gateway.jar
|
||||
# 启动网关服务
|
||||
ENTRYPOINT ["java","-jar","iot-gateway.jar"]
|
||||
Loading…
x
Reference in New Issue
Block a user