brendon-ai commited on
Commit
732ab0a
·
verified ·
1 Parent(s): 11bfb6b

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +9 -0
Dockerfile CHANGED
@@ -35,6 +35,15 @@ RUN curl -fsSL https://ollama.ai/install.sh | sh
35
  COPY app.py .
36
  COPY startup.sh .
37
 
 
 
 
 
 
 
 
 
 
38
  # Fix line endings and make startup script executable
39
  RUN dos2unix startup.sh && chmod +x startup.sh
40
 
 
35
  COPY app.py .
36
  COPY startup.sh .
37
 
38
+ # Create the config directory if it doesn't exist
39
+ mkdir -p /home/user/.config/kaggle
40
+
41
+ # Move the file from .kaggle to the correct location
42
+ mv ~/.kaggle/kaggle.json /home/user/.config/kaggle/kaggle.json
43
+
44
+ # Set proper permissions
45
+ chmod 600 /home/user/.config/kaggle/kaggle.json
46
+
47
  # Fix line endings and make startup script executable
48
  RUN dos2unix startup.sh && chmod +x startup.sh
49