brendon-ai commited on
Commit
091341b
·
verified ·
1 Parent(s): e639360

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -5
Dockerfile CHANGED
@@ -29,7 +29,7 @@ RUN pip install --no-cache-dir --upgrade pip && \
29
  pip install --no-cache-dir -r requirements.txt
30
 
31
  # Install Ollama
32
- RUN curl -fsSL https://ollama.ai/install.sh | sh
33
 
34
  # Copy application files
35
  COPY app.py .
@@ -48,10 +48,10 @@ RUN chmod 600 /home/user/.config/kaggle/kaggle.json
48
  RUN dos2unix startup.sh && chmod +x startup.sh
49
 
50
  # Set environment variables for Ollama (using /tmp for guaranteed write access)
51
- ENV HOME=/tmp
52
- ENV OLLAMA_HOST=0.0.0.0:11434
53
- ENV OLLAMA_MODELS=/tmp/ollama/models
54
- ENV OLLAMA_HOME=/tmp/ollama
55
 
56
  # Expose ports
57
  EXPOSE 7860 11434
 
29
  pip install --no-cache-dir -r requirements.txt
30
 
31
  # Install Ollama
32
+ # RUN curl -fsSL https://ollama.ai/install.sh | sh
33
 
34
  # Copy application files
35
  COPY app.py .
 
48
  RUN dos2unix startup.sh && chmod +x startup.sh
49
 
50
  # Set environment variables for Ollama (using /tmp for guaranteed write access)
51
+ # ENV HOME=/tmp
52
+ # ENV OLLAMA_HOST=0.0.0.0:11434
53
+ # ENV OLLAMA_MODELS=/tmp/ollama/models
54
+ # ENV OLLAMA_HOME=/tmp/ollama
55
 
56
  # Expose ports
57
  EXPOSE 7860 11434