parth parekh commited on
Commit
3f80cab
Β·
1 Parent(s): 928b9ca

added proper permissions

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -1
Dockerfile CHANGED
@@ -12,7 +12,9 @@ COPY requirements.txt .
12
  RUN pip install --no-cache-dir -r requirements.txt
13
 
14
  # Change ownership of the application directory to the new user
15
- RUN chown -R user:user /
 
 
16
 
17
  # Copy the rest of the application code
18
  COPY . .
 
12
  RUN pip install --no-cache-dir -r requirements.txt
13
 
14
  # Change ownership of the application directory to the new user
15
+ RUN chown -R user:user /.cache
16
+ RUN chown -R user:user /app
17
+
18
 
19
  # Copy the rest of the application code
20
  COPY . .