Skip to content

Commit 292a55b

Browse files
committed
I hate docker (Or I'm just shit)
1 parent 7386232 commit 292a55b

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

games/minecraft/entrypoint.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22

33
set -e
44

5-
cd "${HOME:-/var/lib/nodebyte/game/data}"
5+
DATA_DIR="/var/lib/nodebyte/game/data"
6+
mkdir -p "$DATA_DIR"
7+
cd "$DATA_DIR"
68

79
TYPE=$(echo "${TYPE:-PAPER}" | tr '[:lower:]' '[:upper:]')
810
VERSION=${VERSION:-LATEST}

0 commit comments

Comments
 (0)