docker-vintagestory/build-custom-example/Dockerfile
2020-08-23 15:06:04 +02:00

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}