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

11 lines
218 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 || :
${DOCKER_COMPOSE} run --rm minecraft-pi