docker mt start script
This commit is contained in:
parent
e13b73fb3a
commit
61ea2fb933
11
app/start-mod.sh
Executable file
11
app/start-mod.sh
Executable file
@ -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 .
|
Loading…
x
Reference in New Issue
Block a user