docker-vintagestory/build-custom-example/Dockerfile
2020-08-18 08:20:45 +02:00

10 lines
373 B
Docker

# ============== runtime stage ==================
FROM devidian/vintagestory:latest as runtime
WORKDIR /game
# update with your own serverconfig
COPY "./serverconfig.json" "/gamedata/${VSDATAPATH}/serverconfig.json"
# CMD [ "mono" , "VintagestoryServer.exe", "--dataPath", "/gamedata/${VSDATAPATH}" ]
CMD mono VintagestoryServer.exe --dataPath "/gamedata/${VSDATAPATH}"