ohhhchank3 commited on
Commit
963eae9
·
verified ·
1 Parent(s): 8af09bd

Update entrypoint.sh

Browse files
Files changed (1) hide show
  1. entrypoint.sh +1 -12
entrypoint.sh CHANGED
@@ -1,15 +1,4 @@
1
  #!/bin/sh
2
  ls -l /ai/conf
3
 
4
- ls -l /ai/conf
5
-
6
- # Thiết lập PORT mặc định nếu biến môi trường PORT không được định nghĩa
7
- PORT=${PORT:-8080}
8
-
9
- # Chạy ứng dụng Java với các tham số cấu hình
10
- exec java \
11
- -Dserver.port=${PORT} \
12
- -Dloader.path=/ai/conf \
13
- -Djava.security.egd=file:/dev/./urandom \
14
- ${JAVA_OPTS} \
15
- -jar /ai/HMDRINKS-0.0.1-SNAPSHOT.jar
 
1
  #!/bin/sh
2
  ls -l /ai/conf
3
 
4
+ exec java -Dloader.path=/ai/conf -Djava.security.egd=file:/dev/./urandom -jar /ai/HMDRINKS-0.0.1-SNAPSHOT.jar