We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4109f87 commit 4ec48a1Copy full SHA for 4ec48a1
Dockerfile
@@ -1,4 +1,4 @@
1
-FROM openjdk:17-slim
+FROM openjdk:21-slim
2
3
COPY ./target/server-0.0.2.jar /
4
scripts/container.sh
@@ -23,6 +23,5 @@ docker run --name $NAME -d --restart always -p 22023:22023 $NAME:$VERSION
23
sleep 5s
24
25
# test started server
26
-curl http://127.0.0.1:22023/api/rest/v1/system/info
27
-echo ""
28
-echo "OK"
+curl -w '\n' http://127.0.0.1:22023/api/rest/v1/system/info
+echo -e "\033[32mOK\033[0m"
0 commit comments