docker-vintagestory/build-custom-example/Dockerfile
2020-08-18 07:43:46 +02:00

15 lines
433 B
Docker

# ============== 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
# CMD [ "mono" , "VintagestoryServer.exe", "--dataPath", "/gamedata/${VSDATAPATH}" ]
CMD mono VintagestoryServer.exe --dataPath "/gamedata/${VSDATAPATH}"