mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2025-06-18 14:35:37 -04:00
Specify the user in dockerfile via username rather than ID
This commit is contained in:
parent
2bbb585931
commit
d4be307fb1
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user