diff --git a/breath-of-the-wild-multiplayer/Dockerfile b/breath-of-the-wild-multiplayer/Dockerfile index 63bd497..d0378c6 100644 --- a/breath-of-the-wild-multiplayer/Dockerfile +++ b/breath-of-the-wild-multiplayer/Dockerfile @@ -1,21 +1,33 @@ FROM ubuntu -EXPOSE "5050/tcp" + +EXPOSE 5050/tcp +EXPOSE 5050/udp LABEL type=GAME ENV DISPLAY :0 WORKDIR /opt -RUN dpkg --add-architecture i386 && apt-get update && apt-get upgrade -y && apt-get install -y wget libicu74 + +RUN dpkg --add-architecture i386 \ + && apt-get update \ + && apt-get upgrade -y \ + && apt-get install -y wget libicu74 + RUN useradd botwm -d /opt && chown -R botwm:botwm /opt USER botwm:botwm -RUN wget https://dot.net/v1/dotnet-install.sh -O dotnet-install.sh && chmod +x ./dotnet-install.sh && DOTNET_ROOT=/opt/.dotnet ./dotnet-install.sh --channel 6.0 + +RUN wget https://dot.net/v1/dotnet-install.sh -O dotnet-install.sh \ + && chmod +x ./dotnet-install.sh \ + && DOTNET_ROOT=/opt/.dotnet ./dotnet-install.sh --channel 6.0 COPY server-files /opt/botwm USER root:root + RUN chown -R botwm:botwm /opt USER botwm:botwm + WORKDIR /opt/botwm -WORKDIR /opt/botwm + ENTRYPOINT [ "/opt/.dotnet/dotnet", "BOTW.DedicatedServer.dll" ]