修改gateway docker文件
This commit is contained in:
parent
9a3c22f576
commit
a40b0a7c9b
@ -13,4 +13,4 @@ WORKDIR /home/qiuguo
|
||||
COPY ./jar/iot-gateway.jar /home/qiuguo/iot-gateway.jar
|
||||
# 启动网关服务
|
||||
#ENTRYPOINT ["java","-jar","iot-gateway.jar"]
|
||||
CMD ["sh","-c", "java -jar iot-gateway.jar --spring.profiles.active=prod"]
|
||||
CMD ["sh","-c", "java -jar iot-gateway.jar --spring.profiles.active=test"]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user