imbecome commited on
Commit
501facf
·
verified ·
1 Parent(s): 7de7536

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -3
Dockerfile CHANGED
@@ -4,9 +4,11 @@ RUN apt-get update && apt-get install -y \
4
  curl ffmpeg git build-essential libgomp1 procps \
5
  && rm -rf /var/lib/apt/lists/*
6
 
7
- # Install Ollama Binary
8
- RUN curl -L https://github.com/ollama/ollama/releases/download/v0.5.11/ollama-linux-amd64 -o /usr/bin/ollama \
9
- && chmod +x /usr/bin/ollama
 
 
10
 
11
  RUN useradd -m -u 1000 user
12
  WORKDIR /home/user/app
 
4
  curl ffmpeg git build-essential libgomp1 procps \
5
  && rm -rf /var/lib/apt/lists/*
6
 
7
+ # Ganti bagian instalasi Ollama lama dengan ini:
8
+ RUN curl -fsSL https://ollama.com/install.sh | sh
9
+
10
+ # Pastikan izin akses benar untuk user 1000
11
+ RUN chown -R user:user /usr/bin/ollama
12
 
13
  RUN useradd -m -u 1000 user
14
  WORKDIR /home/user/app