Update Dockerfile
Browse files- 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 |
-
#
|
| 8 |
-
RUN curl -
|
| 9 |
-
|
|
|
|
|
|
|
| 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
|