diff --git a/Dockerfile b/Dockerfile index 3ae4ef0..cc65760 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,4 +14,4 @@ COPY /entrypoint.sh / EXPOSE 19132 EXPOSE 25565 -CMD ["/bin/sh", "screen /entrypoint.sh"] \ No newline at end of file +CMD ["/bin/sh", "/entrypoint.sh"] \ No newline at end of file diff --git a/entrypoint.sh b/entrypoint.sh index 06a16ee..27149bb 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -1,5 +1,6 @@ #!/bin/sh unzip /MinecraftServer.zip -d /MinecraftServer +screen cd /MinecraftServer LD_LIBRARY_PATH=. ./bedrock_server \ No newline at end of file