PyxiLabs commited on
Commit
566bacc
·
verified ·
1 Parent(s): be4c0da

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -1
Dockerfile CHANGED
@@ -1,8 +1,12 @@
1
- FROM ollama/ollama:latest
2
 
3
  WORKDIR /app
4
 
5
  COPY ollama.sh /app
 
 
 
 
6
  RUN chmod +x /ollama.sh
7
 
8
  # Install Ollama
 
1
+ FROM python:3.10-slim-buster
2
 
3
  WORKDIR /app
4
 
5
  COPY ollama.sh /app
6
+
7
+ RUN python -m venv venv && \
8
+ . /app/venv/bin/activate
9
+
10
  RUN chmod +x /ollama.sh
11
 
12
  # Install Ollama