From 17d6088045582c89d3013297133d3b34d264e16b Mon Sep 17 00:00:00 2001 From: Saurabh <30365494+saurabh3460@users.noreply.github.com> Date: Thu, 1 Feb 2024 21:19:26 +0530 Subject: [PATCH] Docker: set python user env and fix user executable permission on /app/codecollection path (#2) --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 91e079b..ad1e6fc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -19,4 +19,6 @@ RUN chown 1000:0 -R $WORKDIR RUN chown 1000:0 -R /app/codecollection # Set the user to $USER -USER python \ No newline at end of file +USER python +ENV USER=python +RUN chmod -R u+x /app/codecollection \ No newline at end of file