docker-vintagestory/build-custom-example/Dockerfile
Maik Laschober aaa605df31 added mods and playerdata to example build
fix Dockerfile using ARG instead of ENV
2020-08-20 09:37:34 +02:00

15 lines
410 B
Docker

# ============== runtime stage ==================
FROM devidian/vintagestory:latest as runtime
ARG vs_data_path=/gamedata/vs
# 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}