kopilk commited on
Commit
7300ca2
·
verified ·
1 Parent(s): 1681783

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -3
Dockerfile CHANGED
@@ -1,7 +1,9 @@
1
- FROM ollama/ollama:latest
2
 
3
- RUN apt-get update && apt-get upgrade && apt-get install -y git build-essential \
4
- python3 python3-pip gcc wget
 
 
5
 
6
  # https://huggingface.co/docs/hub/spaces-sdks-docker-first-demo
7
  RUN useradd -m -u 1000 user
 
1
+ FROM python:3.11-slim
2
 
3
+ # Installation de curl et Ollama
4
+ RUN apt-get update && apt-get install -y curl && \
5
+ curl -fsSL https://ollama.ai/install.sh | sh && \
6
+ apt-get clean && rm -rf /var/lib/apt/lists/*
7
 
8
  # https://huggingface.co/docs/hub/spaces-sdks-docker-first-demo
9
  RUN useradd -m -u 1000 user