diff --git a/app/start.sh b/app/start-app.sh similarity index 100% rename from app/start.sh rename to app/start-app.sh diff --git a/app/start-mod.sh b/app/start-mod.sh new file mode 100755 index 0000000..9562c09 --- /dev/null +++ b/app/start-mod.sh @@ -0,0 +1,11 @@ +#!/bin/sh + +mkdir -p /tmp/mtinfo +chmod 777 -R /tmp/mtinfo + +docker run --rm -it \ + -v /tmp/mtinfo/:/var/lib/minetest/.minetest \ + -v $(pwd)/../:/var/lib/minetest/.minetest/worlds/world/worldmods/mtinfo \ + registry.gitlab.com/minetest/minetest/server:5.0.1 + +cp /tmp/mtinfo/worlds/world/mtinfo.json .