From b614bb98f6c4e955b5ca74e7c6ce1aa4a9eae7d9 Mon Sep 17 00:00:00 2001 From: Andmedoctopus Date: Tue, 3 Sep 2024 14:36:48 +0300 Subject: [PATCH] chown in copy --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 275b197..2cbeaa3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -20,7 +20,7 @@ RUN groupadd --gid $GROUP_ID --non-unique $APP_GROUP && \ USER $APP_USER WORKDIR $CODE_FOLDER -COPY . . +COPY --chown=$APP_USER:$APP_GROUP . . RUN pip install -r requirements.txt