mirror of
https://github.com/Merith-TK/docker-vintagestory
synced 2025-01-19 06:40:26 +00:00
15 lines
417 B
Docker
15 lines
417 B
Docker
# ============== runtime stage ==================
|
|
FROM devidian/vintagestory:latest as runtime
|
|
|
|
ARG vs_data_path=/gamedata/vs-custom
|
|
|
|
# update with your own serverconfig
|
|
COPY serverconfig.json ${vs_data_path}/serverconfig.json
|
|
# copy mods
|
|
COPY Mods ${vs_data_path}/Mods/
|
|
# copy default player data
|
|
COPY Playerdata ${vs_data_path}/Playerdata/
|
|
|
|
WORKDIR /game
|
|
|
|
CMD mono VintagestoryServer.exe --dataPath ${VS_DATA_PATH}
|