rkihacker commited on
Commit
7639b1d
·
verified ·
1 Parent(s): f7e7f3d

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -0
Dockerfile CHANGED
@@ -29,6 +29,10 @@ RUN update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.8 1
29
  # Create a working directory
30
  WORKDIR /app
31
 
 
 
 
 
32
  # Copy the web application files
33
  COPY . .
34
 
 
29
  # Create a working directory
30
  WORKDIR /app
31
 
32
+ # Create the 'uploads' directory and set permissions
33
+ # This is the line that fixes the permission error
34
+ RUN mkdir -p /app/uploads && chmod -R 777 /app/uploads
35
+
36
  # Copy the web application files
37
  COPY . .
38