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