devmm03 commited on
Commit
cd94836
·
1 Parent(s): 39932bb
Files changed (1) hide show
  1. Dockerfile +3 -3
Dockerfile CHANGED
@@ -28,9 +28,9 @@ RUN pip install --no-cache-dir -r requirements.txt
28
  # Copy the rest of the application with correct ownership
29
  COPY --chown=user . .
30
 
31
- # Create directories that are not copied but required (e.g. implicitly created by app)
32
- # and ensure they are owned by user.
33
- RUN mkdir -p data temp logs && chown -R user:user data temp logs
34
 
35
  USER user
36
  ENV HOME=/home/user \
 
28
  # Copy the rest of the application with correct ownership
29
  COPY --chown=user . .
30
 
31
+ # Create directories that are not copied but required
32
+ # and ensure the entire app directory is owned by user
33
+ RUN mkdir -p data temp logs && chown -R user:user /app
34
 
35
  USER user
36
  ENV HOME=/home/user \