krislette commited on
Commit
a71ea0b
·
1 Parent(s): ac7f5b3

Added write permissions for container

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -0
Dockerfile CHANGED
@@ -38,6 +38,10 @@ COPY config/ ./config/
38
  COPY models/ ./models/
39
  COPY scripts/ ./scripts/
40
 
 
 
 
 
41
  # Set environment
42
  ENV PYTHONPATH="/app"
43
  ENV HF_HOME="/app/.cache/huggingface"
 
38
  COPY models/ ./models/
39
  COPY scripts/ ./scripts/
40
 
41
+ # Create cache directories with proper permissions
42
+ RUN mkdir -p /app/.cache/huggingface /tmp/numba_cache && \
43
+ chmod -R 777 /app/.cache /tmp/numba_cache
44
+
45
  # Set environment
46
  ENV PYTHONPATH="/app"
47
  ENV HF_HOME="/app/.cache/huggingface"