priyanshu23456 commited on
Commit
8e9556b
·
verified ·
1 Parent(s): 3a91fef

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -1
Dockerfile CHANGED
@@ -23,7 +23,10 @@ RUN apt-get update && apt-get install -y \
23
  COPY requirements.txt .
24
  RUN pip install --no-cache-dir -r requirements.txt
25
 
26
- # Copy the rest of the code
 
 
 
27
  COPY . .
28
 
29
  # Expose port
 
23
  COPY requirements.txt .
24
  RUN pip install --no-cache-dir -r requirements.txt
25
 
26
+ # Create upload folder with write permissions
27
+ RUN mkdir -p /app/uploads && chmod -R 777 /app/uploads
28
+
29
+ # Copy app files
30
  COPY . .
31
 
32
  # Expose port