docker-vintagestory/build-custom-example/Dockerfile

16 lines
433 B
Text
Raw Normal View History

2020-07-24 07:53:22 +01:00
# ============== runtime stage ==================
FROM devidian/vintagestory:latest as runtime
WORKDIR /game
ENV VSDATAPATH vs-custom
# update with your own serverconfig
COPY "./serverconfig.json" "/gamedata/${VSDATAPATH}/serverconfig.json"
# Expose ports
EXPOSE 42420/tcp
2020-07-24 07:53:22 +01:00
# CMD [ "mono" , "VintagestoryServer.exe", "--dataPath", "/gamedata/${VSDATAPATH}" ]
CMD mono VintagestoryServer.exe --dataPath "/gamedata/${VSDATAPATH}"