rajsecrets0 commited on
Commit
d843ce3
·
verified ·
1 Parent(s): c129701

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -0
Dockerfile CHANGED
@@ -17,6 +17,9 @@ RUN pip install --no-cache-dir -r requirements.txt
17
  # Copy the rest of the application code
18
  COPY --chown=user:user . /home/user/app
19
 
 
 
 
20
  # Switch to the non-root user
21
  USER user
22
 
 
17
  # Copy the rest of the application code
18
  COPY --chown=user:user . /home/user/app
19
 
20
+ # Ensure the user has write permissions to the working directory
21
+ RUN chown -R user:user /home/user/app
22
+
23
  # Switch to the non-root user
24
  USER user
25