Aryan Gosaliya commited on
Commit
fcbf46d
·
1 Parent(s): 08c0be3

added permissions for writing

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -2
Dockerfile CHANGED
@@ -46,9 +46,10 @@ COPY data ./data
46
  # Copy the built frontend from the builder stage
47
  COPY --from=builder /app/ui/claimcheck-ui/dist ./static
48
 
49
- # Create necessary directories and fix cache permissions
50
  RUN mkdir -p kb/index data/audio /.cache && \
51
- chmod 777 /.cache
 
52
 
53
  # Set environment variables for production
54
  ENV PYTHONUNBUFFERED=1
 
46
  # Copy the built frontend from the builder stage
47
  COPY --from=builder /app/ui/claimcheck-ui/dist ./static
48
 
49
+ # Create necessary directories and fix permissions
50
  RUN mkdir -p kb/index data/audio /.cache && \
51
+ chmod -R 777 data/audio && \
52
+ chmod -R 777 /.cache
53
 
54
  # Set environment variables for production
55
  ENV PYTHONUNBUFFERED=1