Skip to content

Commit

Permalink
feat(Dockerfile)📦: Add curl and build-essential installation commands
Browse files Browse the repository at this point in the history
- Added curl to fetch resources from the web.
- Added build-essential for C++ compilation requirements.
  • Loading branch information
ericmjl committed Aug 24, 2024
1 parent 04af9dd commit 67f99e8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,14 @@ COPY docs docs
COPY llamabot llamabot
COPY tests tests

# Install curl to get ollama
# Install build-essential for C++ (needed for ChromaDB)
RUN apt-get update && apt-get install -y curl build-essential

# Configure apt and install packages
RUN /usr/local/bin/pixi install --manifest-path pyproject.toml

# Install Ollama within Docker container
RUN apt-get update && apt-get install -y curl build-essential
RUN curl -fsSL https://ollama.com/install.sh | sh

# Always the final command
Expand Down

0 comments on commit 67f99e8

Please sign in to comment.