code-slicer commited on
Commit
29fd559
·
verified ·
1 Parent(s): 5edadcf

Update Dockerfile

Browse files
Files changed (1) hide show
  1. 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
- # Ollama 설치
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
  # 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