Skip to content

Commit

Permalink
Bot docker: create folder where saved files are saved. (#12765)
Browse files Browse the repository at this point in the history
  • Loading branch information
DanVanAtta authored Jul 24, 2024
1 parent 31479d3 commit 494ca21
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions game-app/game-headless/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 /
Expand Down

0 comments on commit 494ca21

Please sign in to comment.