Skip to content

Commit

Permalink
more stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
cboettig committed Sep 21, 2024
1 parent 4d7a12a commit 565b4eb
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
8 changes: 8 additions & 0 deletions images/Dockerfile.pytorch
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,11 @@ FROM quay.io/jupyter/pytorch-notebook:cuda12-2024-04-22
COPY jupyter-ai.yml environment.yml
RUN conda env update --file environment.yml

USER root
RUN curl -L https://ollama.com/download/ollama-linux-amd64 -o /usr/local/bin/ollama && chmod +x /usr/local/bin/ollama
RUN curl -fsSL https://code-server.dev/install.sh | sh && rm -rf .cache
RUN git config --system pull.rebase false && \
git config --system credential.helper 'cache --timeout=30000' && \
echo '"\e[5~": history-search-backward' >> /etc/inputrc && \
echo '"\e[6~": history-search-forward' >> /etc/inputrc

3 changes: 3 additions & 0 deletions images/jupyter-ai.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,7 @@ channels:
dependencies:
- jupyterlab-myst
- jupyter-ai
- jupyter-tensorboard-proxy
- jupyter-resource-usage
- jupyter-vscode-proxy

0 comments on commit 565b4eb

Please sign in to comment.