Skip to content

Commit

Permalink
Merge pull request #4 from Syriiin/volume-permissions
Browse files Browse the repository at this point in the history
Widen beatmap volume permissions
  • Loading branch information
Syriiin authored May 6, 2024
2 parents 25b5206 + c8e3c50 commit eb90c49
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ ARG OSU_COMMIT_HASH
ENV OSU_COMMIT_HASH=${OSU_COMMIT_HASH}

VOLUME ${BEATMAP_DIRECTORY}
RUN mkdir ${BEATMAP_DIRECTORY} && chown -R app:app ${BEATMAP_DIRECTORY}
# chmod 777 so that this volume can be read/written by other containers that might use different uids
RUN mkdir ${BEATMAP_DIRECTORY} && chmod -R 777 ${BEATMAP_DIRECTORY}

USER app

Expand Down

0 comments on commit eb90c49

Please sign in to comment.