formatted botw dockerfile
This commit is contained in:
parent
f741444073
commit
6fc18b898c
@ -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" ]
|
||||
|
Loading…
x
Reference in New Issue
Block a user