minecraft-pi-docker/debian/server/usr/bin/minecraft-pi-server
2020-10-14 22:51:30 -04:00

11 lines
225 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 minecraft-pi-server