Mahadih534 commited on
Commit
e050164
·
verified ·
1 Parent(s): fa5c828

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -1
Dockerfile CHANGED
@@ -7,7 +7,9 @@ ENV PATH="/home/user/.local/bin:$PATH"
7
  WORKDIR /app
8
 
9
  COPY --chown=user ./requirements.txt requirements.txt
10
- CMD ["CURL","-fsSL"," https://ollama.com/install.sh | sh"]
 
 
11
  CMD ["ollama", "serve"]
12
  CMD ["ollama", "pull", "smollm:135m"]
13
  RUN pip install --no-cache-dir --upgrade -r requirements.txt
 
7
  WORKDIR /app
8
 
9
  COPY --chown=user ./requirements.txt requirements.txt
10
+ RUN curl -fsSL https://ollama.com/install.sh | sh
11
+ RUN cp wait-for-it.sh /app/
12
+
13
  CMD ["ollama", "serve"]
14
  CMD ["ollama", "pull", "smollm:135m"]
15
  RUN pip install --no-cache-dir --upgrade -r requirements.txt