pup-py commited on
Commit
02ffd46
·
verified ·
1 Parent(s): d700e8c

codegemma2b

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -2
Dockerfile CHANGED
@@ -4,6 +4,10 @@ FROM debian:latest AS puppy
4
  RUN apt-get update \
5
  && apt-get install -y curl \
6
  && apt-get clean
 
 
 
 
7
  RUN useradd -m -u 1000 user
8
  USER user
9
 
@@ -15,7 +19,7 @@ WORKDIR $HOME/puppy
15
  RUN curl -fsSL https://raw.githubusercontent.com/liquidcarbon/puppy/main/pup.sh | bash -s 3.13
16
  RUN pup
17
  RUN pixi add jupyter
18
- RUN pup add rawr requests
19
  RUN pup list
20
 
21
  EXPOSE 7860
@@ -31,4 +35,4 @@ CMD pixi run jupyter-lab \
31
  --ServerApp.tornado_settings='{"headers": {"Content-Security-Policy": "frame-ancestors *"}}' \
32
  --LabApp.news_url=None \
33
  --LabApp.check_for_updates_class="jupyterlab.NeverCheckForUpdate" \
34
- --PasswordIdentityProvider.hashed_password='argon2:$argon2id$v=19$m=10240,t=10,p=8$r/6qMnrYrVBhhnzO4mNgqQ$uDWGIeGNu9Wfyscoq8gJ+WUF5lXX+BJVLrIRtKJGWNQ'
 
4
  RUN apt-get update \
5
  && apt-get install -y curl \
6
  && apt-get clean
7
+
8
+ RUN curl -fsSL https://ollama.com/install.sh | sh
9
+ RUN ollama pull codegemma:2b
10
+
11
  RUN useradd -m -u 1000 user
12
  USER user
13
 
 
19
  RUN curl -fsSL https://raw.githubusercontent.com/liquidcarbon/puppy/main/pup.sh | bash -s 3.13
20
  RUN pup
21
  RUN pixi add jupyter
22
+ RUN pup add ai ollama
23
  RUN pup list
24
 
25
  EXPOSE 7860
 
35
  --ServerApp.tornado_settings='{"headers": {"Content-Security-Policy": "frame-ancestors *"}}' \
36
  --LabApp.news_url=None \
37
  --LabApp.check_for_updates_class="jupyterlab.NeverCheckForUpdate" \
38
+ # --PasswordIdentityProvider.hashed_password='argon2:$argon2id$v=19$m=10240,t=10,p=8$r/6qMnrYrVBhhnzO4mNgqQ$uDWGIeGNu9Wfyscoq8gJ+WUF5lXX+BJVLrIRtKJGWNQ'