11 lines
221 B
Bash
Executable File
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
|