Skip to content

Commit 4ec48a1

Browse files
committed
Updates.
1 parent 4109f87 commit 4ec48a1

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM openjdk:17-slim
1+
FROM openjdk:21-slim
22

33
COPY ./target/server-0.0.2.jar /
44

scripts/container.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,5 @@ docker run --name $NAME -d --restart always -p 22023:22023 $NAME:$VERSION
2323
sleep 5s
2424

2525
# test started server
26-
curl http://127.0.0.1:22023/api/rest/v1/system/info
27-
echo ""
28-
echo "OK"
26+
curl -w '\n' http://127.0.0.1:22023/api/rest/v1/system/info
27+
echo -e "\033[32mOK\033[0m"

0 commit comments

Comments
 (0)