This commit is contained in:
parent
e0f378b20d
commit
b3d78f2654
2 changed files with 5 additions and 1 deletions
|
@ -2,6 +2,8 @@ FROM debian:12-slim
|
|||
|
||||
WORKDIR /app
|
||||
|
||||
RUN apt-get update -qq && apt-get install -qq libmariadb3 --no-install-recommends && rm -rf /var/lib/apt/lists/*
|
||||
|
||||
COPY ./DarkflameServer/build /app
|
||||
COPY ./start.sh /app/
|
||||
|
||||
|
@ -14,4 +16,4 @@ ENV MAX_CLIENTS 999
|
|||
ENV TEAM_LOOT 1
|
||||
ENV CLIENT_VERSION 171022
|
||||
|
||||
ENTRYPOINT ['/bin/sh /app/start.sh']
|
||||
ENTRYPOINT ['start.sh']
|
||||
|
|
2
start.sh
2
start.sh
|
@ -24,6 +24,8 @@ echo "maximum_mtu_size=1228" >> /app/sharedconfig.ini
|
|||
echo "client_net_version=$CLIENT_VERSION" >> /app/sharedconfig.ini
|
||||
echo "default_team_loot=$TEAM_LOOT" >> /app/sharedconfig.ini
|
||||
|
||||
echo "set folder for shared libaries"
|
||||
export LD_LIBRARY_PATH=/app
|
||||
echo "start Server"
|
||||
/app/MasterServer
|
||||
tail -f /dev/null
|
Loading…
Reference in a new issue