Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +6 -3
Dockerfile
CHANGED
|
@@ -10,9 +10,12 @@ RUN apt-get update && apt-get install -y \
|
|
| 10 |
git-lfs \
|
| 11 |
&& rm -rf /var/lib/apt/lists/*
|
| 12 |
|
| 13 |
-
#
|
| 14 |
-
RUN curl -L --fail https://ollama.com/download/ollama-linux-amd64 -o /usr/local/bin/ollama \
|
| 15 |
-
|
|
|
|
|
|
|
|
|
|
| 16 |
|
| 17 |
# Ollama 모델 다운로드 (gemma2:9b 모델 사용)
|
| 18 |
RUN /usr/local/bin/ollama pull gemma2:9b
|
|
|
|
| 10 |
git-lfs \
|
| 11 |
&& rm -rf /var/lib/apt/lists/*
|
| 12 |
|
| 13 |
+
# 기존 명령어 (404 오류 발생)
|
| 14 |
+
# RUN curl -L --fail https://ollama.com/download/ollama-linux-amd64 -o /usr/local/bin/ollama \
|
| 15 |
+
# && chmod +x /usr/local/bin/ollama
|
| 16 |
+
|
| 17 |
+
# 수정된 명령어 (install.sh 스크립트 사용)
|
| 18 |
+
RUN curl -fsSL https://ollama.com/install.sh | sh
|
| 19 |
|
| 20 |
# Ollama 모델 다운로드 (gemma2:9b 모델 사용)
|
| 21 |
RUN /usr/local/bin/ollama pull gemma2:9b
|