Skip to content

Commit

Permalink
fix: update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
taprosoft committed Jan 20, 2025
1 parent 0c322e6 commit bfa1b17
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,9 @@ RUN --mount=type=ssh \
--mount=type=cache,target=/root/.cache/pip \
curl -fsSL https://ollama.com/install.sh | sh

RUN nohup bash -c "ollama serve &" && sleep 4 && ollama pull llama3.1:8b
RUN nohup bash -c "ollama serve &" && sleep 4 && ollama pull nomic-embed-text

# Clean up
RUN apt-get autoremove \
&& apt-get clean \
Expand Down

0 comments on commit bfa1b17

Please sign in to comment.