first commit
This commit is contained in:
16
cmii-uav-watchdog-agent/java-run/build_cmii_watchdog.sh
Normal file
16
cmii-uav-watchdog-agent/java-run/build_cmii_watchdog.sh
Normal file
@@ -0,0 +1,16 @@
|
||||
#!/bin/bash
|
||||
|
||||
cd /root/wdd/cmii-watchdog
|
||||
|
||||
pwd
|
||||
|
||||
current_date=$(date +"%Y-%m-%d-%H-%M-%S")
|
||||
|
||||
|
||||
docker build -t cmii-watchdog-java:${current_date} .
|
||||
|
||||
|
||||
docker run -d -p 9000:8080 --name=cmii-watchdog-java-${current_date} cmii-watchdog-java:${current_date}
|
||||
|
||||
|
||||
#docker run -d -p 9000:8080 cmii-watchdog-java:2025-02-25
|
||||
Reference in New Issue
Block a user