From 1db59db56c38fa94863a78a0f04f45b00f8ddea9 Mon Sep 17 00:00:00 2001 From: DanVanAtta Date: Wed, 24 Jul 2024 15:32:14 -0700 Subject: [PATCH] Bot docker: create folder where saved files are saved. --- game-app/game-headless/Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/game-app/game-headless/Dockerfile b/game-app/game-headless/Dockerfile index 3e8a373d89..a337a9b726 100644 --- a/game-app/game-headless/Dockerfile +++ b/game-app/game-headless/Dockerfile @@ -14,6 +14,10 @@ ENV EXIT_ON_GAME_END=FALSE RUN mkdir $MAPS_FOLDER RUN useradd -u 999 bot RUN chown bot:root $MAPS_FOLDER + +RUN mkdir -p /home/bot/triplea/savedGames/autoSave +RUN chown -R bot:root /home/bot/ + USER bot ADD build/libs/triplea-game-headless.jar /