Init
continuous-integration/drone/tag Build is passing Details

This commit is contained in:
root 2022-01-19 23:09:50 +01:00
commit fd6ffb9a47
2 changed files with 15 additions and 0 deletions

11
Dockerfile Normal file
View File

@ -0,0 +1,11 @@
FROM mono:6.12.0.107
RUN apt update && apt install -y wget unzip && mkdir /opt/game && cd /opt/game && wget https://cdn.tilera.xyz/file/goimp.zip && unzip goimp.zip && rm goimp.zip
COPY ./start.sh /opt/game/
RUN chmod +x /opt/game/start.sh
VOLUME ["/opt/game/config"]
ENTRYPOINT ["sh", "/opt/game/start.sh"]

4
start.sh Executable file
View File

@ -0,0 +1,4 @@
#!/bin/bash
cd /opt/game
mono GettingOverItMP.Server.exe --hostname $HOSTNAME --maxplayers $MAX --port 25050 --nosteam --private