alibidaran commited on
Commit
1e0ba8c
·
verified ·
1 Parent(s): 09b15b6

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -4
Dockerfile CHANGED
@@ -5,18 +5,19 @@ FROM python:3.10-slim
5
  RUN apt-get update && apt-get install -y curl unzip && rm -rf /var/lib/apt/lists/*
6
 
7
  # Install Ollama server
8
- RUN curl -fsSL https://ollama.com/install.sh | sh
9
 
10
  # Set working directory for the app
11
  WORKDIR /app
12
- RUN mkdir -p /app/.ollama
13
 
14
- # Set environment variable for Ollama home directory
15
- ENV OLLAMA_HOME=/app/.ollama
16
  # Copy application files and model
17
  COPY . /app
18
 
19
  # Install Python dependencies
 
20
  RUN pip install --no-cache-dir gradio requests
21
 
22
  # Expose ports for Gradio and Ollama
 
5
  RUN apt-get update && apt-get install -y curl unzip && rm -rf /var/lib/apt/lists/*
6
 
7
  # Install Ollama server
8
+
9
 
10
  # Set working directory for the app
11
  WORKDIR /app
12
+ # RUN mkdir -p /app/.ollama
13
 
14
+ # # Set environment variable for Ollama home directory
15
+ # ENV OLLAMA_HOME=/app/.ollama
16
  # Copy application files and model
17
  COPY . /app
18
 
19
  # Install Python dependencies
20
+ RUN curl -fsSL https://ollama.com/install.sh | sh
21
  RUN pip install --no-cache-dir gradio requests
22
 
23
  # Expose ports for Gradio and Ollama