From b8960f6465f2659f8550f3c4033e52269690859b Mon Sep 17 00:00:00 2001 From: Hezi Aharon Date: Sat, 2 Nov 2024 06:29:38 +0000 Subject: [PATCH] Update Dockerfile --- Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 2cf689e..2b16513 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,9 +17,12 @@ RUN pip install --no-cache-dir uv==0.4.28 && \ # Copy the application code with appropriate ownership COPY --chown=appuser:appuser . . -# Change permissions of the application directory +# Adjust permissions of the application directory RUN chmod -R u+rwX,go-rwx /usr/src/app +# Ensure parent directories are accessible +RUN chmod o+rx /usr /usr/src + # Switch to the non-root user USER appuser