minecraft-pi-docker/debian/server/usr/bin/minecraft-pi-server

11 lines
221 B
Plaintext
Raw Normal View History

2020-10-10 23:02:13 +00:00
#!/bin/sh
set -e
export MCPI_ROOT="${PWD}"
# Launch Minecraft
DOCKER_COMPOSE="docker-compose -f /usr/share/minecraft-pi/server/docker-compose.yml"
${DOCKER_COMPOSE} pull || :
2020-10-10 23:39:29 +00:00
${DOCKER_COMPOSE} run --rm -T minecraft-pi