Skip to content

Commit

Permalink
Widen beatmap volume permissions
Browse files Browse the repository at this point in the history
To allow for cross-container usage
  • Loading branch information
Syriiin committed May 6, 2024
1 parent 8104a6b commit dbe0da2
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 @@ -9,7 +9,8 @@ ENV ASPNETCORE_ENVIRONMENT=Production
ENV BEATMAP_DIRECTORY=/beatmaps

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 dbe0da2

Please sign in to comment.