docker-vintagestory/build-custom-example/Dockerfile

16 lines
417 B
Text
Raw Normal View History

2020-07-24 07:53:22 +01:00
# ============== runtime stage ==================
FROM devidian/vintagestory:latest as runtime
ARG vs_data_path=/gamedata/vs-custom
2020-07-24 07:53:22 +01:00
# 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
2020-07-24 07:53:22 +01:00
CMD mono VintagestoryServer.exe --dataPath ${VS_DATA_PATH}