docker: change builder from node:20.11.1-alpine to node:20.11.1-bullyseye.
This commit is contained in:
@@ -38,7 +38,7 @@ fi
|
||||
|
||||
sed -i "0,/127.0.0.1/s/127.0.0.1/${IP}/" SPT_Data/Server/configs/http.json
|
||||
sed -i "s/[0-9]\{1,\},/${PORT},/g" SPT_Data/Server/configs/http.json
|
||||
tac SPT_Data/Server/configs/http.json | sed "0,/${PORT},/s/${PORT},/$webSocketPingDelayMs,/" | tac | tee SPT_Data/Server/configs/http.json > /dev/null
|
||||
tac SPT_Data/Server/configs/http.json | sed "0,/${PORT},/s/${PORT},/$PINGDELAYMS,/" | tac | tee SPT_Data/Server/configs/http.json > /dev/null
|
||||
|
||||
chmod +x SPT.Server && ./SPT.Server
|
||||
|
||||
|
||||
Reference in New Issue
Block a user