docker-vintagestory/build-custom-example/Dockerfile
2020-07-24 08:53:22 +02:00

16 lines
No EOL
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"
# CMD [ "mono" , "VintagestoryServer.exe", "--dataPath", "/gamedata/${VSDATAPATH}" ]
CMD mono VintagestoryServer.exe --dataPath "/gamedata/${VSDATAPATH}"
# Expose ports
EXPOSE 42420/tcp