PyxiLabs commited on
Commit
6c6c988
·
verified ·
1 Parent(s): b0dee4e

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -3
Dockerfile CHANGED
@@ -2,6 +2,9 @@ FROM ollama/ollama:latest
2
 
3
  WORKDIR /app
4
 
 
 
 
5
  # Install Ollama
6
  RUN curl https://ollama.ai/install.sh | sh
7
 
@@ -11,9 +14,6 @@ RUN mkdir -p /.ollama && chmod 777 /.ollama
11
  # Ensure Ollama binary is in the PATH
12
  ENV PATH="/app/venv/bin:/root/.ollama/bin:$PATH"
13
 
14
- COPY ollama.sh /app
15
- RUN chmod +x /ollama.sh
16
-
17
  EXPOSE 11434
18
 
19
  ENTRYPOINT ["/ollama"]
 
2
 
3
  WORKDIR /app
4
 
5
+ COPY ollama.sh /app
6
+ RUN chmod +x /ollama.sh
7
+
8
  # Install Ollama
9
  RUN curl https://ollama.ai/install.sh | sh
10
 
 
14
  # Ensure Ollama binary is in the PATH
15
  ENV PATH="/app/venv/bin:/root/.ollama/bin:$PATH"
16
 
 
 
 
17
  EXPOSE 11434
18
 
19
  ENTRYPOINT ["/ollama"]