diff --git a/Dockerfile b/Dockerfile index e42171c..4b7107c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -21,4 +21,4 @@ RUN chmod +x LinuxServer/Engine/Binaries/Linux/UE4Server-Linux-Shipping #RUN chown -R ut:ut LinuxServer/ RUN LinuxServer/Engine/Binaries/Linux/UE4Server-Linux-Shipping UnrealTournament UT-Entry?Game=Lobby -CMD LinuxServer/Engine/Binaries/Linux/UE4Server-Linux-Shipping UnrealTournament UT-Entry?Game=Lobby \ No newline at end of file +CMD while true; LinuxServer/Engine/Binaries/Linux/UE4Server-Linux-Shipping UnrealTournament UT-Entry?Game=Lobby; done; \ No newline at end of file diff --git a/runServer b/runServer index 48782f0..5c2f2c3 100755 --- a/runServer +++ b/runServer @@ -1,2 +1,3 @@ #!/bin/bash + docker run --name ut4hubserver --rm -d -p 14000:14000/udp -p 7777:7777/udp -p 7787:7787/udp -p 8000:8000/udp -v ./config:/home/ut/LinuxServer/UnrealTournament/Saved/Config/LinuxServer/ -v ./paks:/home/ut/LinuxServer/UnrealTournament/Content/Paks/ -v ./rulesets:/home/ut/LinuxServer/UnrealTournament/Saved/Config/Rulesets/ ut4hubserver