Update dockerfile
This commit is contained in:
parent
96397eb2a0
commit
db78e45a22
@ -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=test"]
|
||||
CMD ["sh","-c", "java -jar iot-gateway.jar --spring.profiles.active=prod"]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user