From d4be307fb179529d08d2ebc38ec6ab476bde52cb Mon Sep 17 00:00:00 2001 From: Tyrrrz <1935960+Tyrrrz@users.noreply.github.com> Date: Mon, 8 Jan 2024 17:13:48 +0200 Subject: [PATCH] Specify the user in dockerfile via username rather than ID --- DiscordChatExporter.Cli.dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DiscordChatExporter.Cli.dockerfile b/DiscordChatExporter.Cli.dockerfile index 9edca3a9..b2500f44 100644 --- a/DiscordChatExporter.Cli.dockerfile +++ b/DiscordChatExporter.Cli.dockerfile @@ -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.