diff --git a/game-app/game-headless/Dockerfile b/game-app/game-headless/Dockerfile index b487bf63e4..3e8a373d89 100644 --- a/game-app/game-headless/Dockerfile +++ b/game-app/game-headless/Dockerfile @@ -12,6 +12,9 @@ ENV MAPS_FOLDER=/downloadedMaps ENV EXIT_ON_GAME_END=FALSE RUN mkdir $MAPS_FOLDER +RUN useradd -u 999 bot +RUN chown bot:root $MAPS_FOLDER +USER bot ADD build/libs/triplea-game-headless.jar / CMD java \