Skip to content

Commit

Permalink
Specify the user in dockerfile via username rather than ID
Browse files Browse the repository at this point in the history
  • Loading branch information
Tyrrrz committed Jan 8, 2024
1 parent 2bbb585 commit d4be307
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DiscordChatExporter.Cli.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ ENV LANG=en_US.UTF-8
# Use a non-root user to ensure that the files shared with the host are accessible by the host user.
# We can use the default user provided by the base image for this purpose.
# https://github.com/Tyrrrz/DiscordChatExporter/issues/851
USER $APP_UID
USER app

# This directory is exposed to the user for mounting purposes, so it's important that it always
# stays the same for backwards compatibility.
Expand Down

0 comments on commit d4be307

Please sign in to comment.