minecraft-pi-reborn/debian/server/usr/bin/minecraft-pi-server
2020-10-10 19:39:29 -04:00

11 lines
221 B
Bash
Executable File

#!/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 || :
${DOCKER_COMPOSE} run --rm -T minecraft-pi