richard-su commited on
Commit
c88a159
·
verified ·
1 Parent(s): 60b9fce

Upload Dockerfile with huggingface_hub

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -0
Dockerfile CHANGED
@@ -52,6 +52,12 @@ RUN pip install --no-cache-dir --upgrade pip && \
52
  # Copy source code
53
  COPY --chown=user . /app
54
 
 
 
 
 
 
 
55
  # Switch to user
56
  USER user
57
 
 
52
  # Copy source code
53
  COPY --chown=user . /app
54
 
55
+ # Ensure user has full read/write permissions on /app directory
56
+ RUN chown -R user:user /app && \
57
+ chmod -R 755 /app && \
58
+ mkdir -p /app/cache /app/downloads /app/transcripts && \
59
+ chmod -R 777 /app/cache /app/downloads /app/transcripts
60
+
61
  # Switch to user
62
  USER user
63