提交修改user DockerFile文件

This commit is contained in:
wulin 2023-12-07 10:42:02 +08:00
parent 7f43422237
commit a659a92011
5 changed files with 2 additions and 2 deletions

BIN
.DS_Store vendored

Binary file not shown.

View File

@ -13,4 +13,4 @@ WORKDIR /home/qiuguo
COPY ./jar/iot-box-user-api.jar /home/qiuguo/iot-box-user-api.jar
# 启动网关服务
#ENTRYPOINT ["java","-jar","iot-box-user-api.jar"]
CMD ["sh","-c", "java -jar iot-box-user-api.jar --spring.profiles.active=test"]
CMD ["sh","-c", "java -jar iot-box-user-api.jar --spring.profiles.active=ACTIVE"]

View File

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

BIN
iot-modules/.DS_Store vendored

Binary file not shown.

Binary file not shown.