Open L1Z3 opened 1 year ago
FROM ubuntu
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 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
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" ]
updated version that does not rely on downloading from the auto-updater
See this Docker image from "acoolname" on Discord: