PraneshJs commited on
Commit
f985085
·
verified ·
1 Parent(s): e02a479

fixed permission denied error

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -0
Dockerfile CHANGED
@@ -38,6 +38,9 @@ RUN crawl4ai-doctor || true
38
  # Copy rest of application
39
  COPY . /app
40
 
 
 
 
41
  # Make start script executable
42
  RUN chmod +x /app/start.sh
43
 
 
38
  # Copy rest of application
39
  COPY . /app
40
 
41
+ # Fix permissions so pwuser can write to /app
42
+ RUN mkdir -p /app/cache && chown -R pwuser:pwuser /app
43
+
44
  # Make start script executable
45
  RUN chmod +x /app/start.sh
46