Skip to content

Commit b36c6da

Browse files
committed
Fix: permission issues with .cache/url_seeder and other runtime cache dirs. ref #1638
1 parent 94c8a83 commit b36c6da

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Dockerfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,11 @@ RUN mkdir -p /home/appuser/.cache/ms-playwright \
167167

168168
RUN crawl4ai-doctor
169169

170+
# Ensure all cache directories belong to appuser
171+
# This fixes permission issues with .cache/url_seeder and other runtime cache dirs
172+
RUN mkdir -p /home/appuser/.cache \
173+
&& chown -R appuser:appuser /home/appuser/.cache
174+
170175
# Copy application code
171176
COPY deploy/docker/* ${APP_HOME}/
172177

0 commit comments

Comments
 (0)