Yaya86 commited on
Commit
168f001
·
verified ·
1 Parent(s): a07ad14

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +48 -48
Dockerfile CHANGED
@@ -24,72 +24,72 @@ RUN useradd -m -u 1000 appuser
24
  #Copy fichiers blobs
25
  #RUN mkdir /usr/share/ollama/.ollama/models && chmod 777 /usr/share/ollama/.ollama/models
26
  #RUN mkdir /usr/share/ollama/.ollama/models/blobs && chmod 777 /usr/share/ollama/.ollama/models/blobs
27
- COPY --chown=appuser alfred_erbot/blobs /usr/share/ollama/.ollama/models/blobs
28
- COPY --chown=appuser command_erbot/blobs /usr/share/ollama/.ollama/models/blobs
29
- COPY --chown=appuser dolphi-phi_erbot/blobs /usr/share/ollama/.ollama/models/blobs
30
- COPY --chown=appuser falcon_erbot/blobs /usr/share/ollama/.ollama/models/blobs
31
- COPY --chown=appuser gemma_erbot/blobs /usr/share/ollama/.ollama/models/blobs
32
- COPY --chown=appuser llama2_erbot/blobs /usr/share/ollama/.ollama/models/blobs
33
- COPY --chown=appuser meditron_erbot/blobs /usr/share/ollama/.ollama/models/blobs
34
- COPY --chown=appuser medllama_erbot/blobs /usr/share/ollama/.ollama/models/blobs
35
- COPY --chown=appuser mistral_erbot/blobs /usr/share/ollama/.ollama/models/blobs
36
- COPY --chown=appuser mistrallite_erbot/blobs /usr/share/ollama/.ollama/models/blobs
37
- COPY --chown=appuser openchat_erbot/blobs /usr/share/ollama/.ollama/models/blobs
38
- COPY --chown=appuser stablelm2_erbot/blobs /usr/share/ollama/.ollama/models/blobs
39
  COPY --chown=appuser mxbai-embed-large/blobs /usr/share/ollama/.ollama/models/blobs
40
- COPY --chown=appuser openchat_story/blobs /usr/share/ollama/.ollama/models/blobs
41
- COPY --chown=appuser mistral_story/blobs /usr/share/ollama/.ollama/models/blobs
42
- COPY --chown=appuser mistrallite_story/blobs /usr/share/ollama/.ollama/models/blobs
43
  COPY --chown=appuser all-minilm/blobs /usr/share/ollama/.ollama/models/blobs
44
  COPY --chown=appuser nomic-embed-text/blobs /usr/share/ollama/.ollama/models/blobs
45
- COPY --chown=appuser mixtral_erbot/blobs /usr/share/ollama/.ollama/models/blobs
46
 
47
  #Création des dossier pour recevoir les fichiers latest
48
  RUN mkdir /usr/share/ollama/.ollama/models/manifests && chmod 777 /usr/share/ollama/.ollama/models/manifests
49
  RUN mkdir /usr/share/ollama/.ollama/models/manifests/registry.ollama.ai && chmod 777 /usr/share/ollama/.ollama/models/manifests/registry.ollama.ai
50
  RUN mkdir /usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library && chmod 777 /usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library
51
- RUN mkdir /usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library/alfred_erbot && chmod 777 /usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library/alfred_erbot
52
-
53
-
54
- RUN mkdir /usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library/command_erbot && chmod 777 /usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library/command_erbot
55
- RUN mkdir /usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library/dolphi-phi_erbot && chmod 777 /usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library/dolphi-phi_erbot
56
- RUN mkdir /usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library/falcon_erbot && chmod 777 /usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library/falcon_erbot
57
- RUN mkdir /usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library/gemma_erbot && chmod 777 /usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library/gemma_erbot
58
- RUN mkdir /usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library/llama2_erbot && chmod 777 /usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library/llama2_erbot
59
- RUN mkdir /usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library/meditron_erbot && chmod 777 /usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library/meditron_erbot
60
- RUN mkdir /usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library/medllama_erbot && chmod 777 /usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library/medllama_erbot
61
- RUN mkdir /usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library/mistral_erbot && chmod 777 /usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library/mistral_erbot
62
- RUN mkdir /usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library/mistrallite_erbot && chmod 777 /usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library/mistrallite_erbot
63
- RUN mkdir /usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library/openchat_erbot && chmod 777 /usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library/openchat_erbot
64
- RUN mkdir /usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library/stablelm2_erbot && chmod 777 /usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library/stablelm2_erbot
65
  RUN mkdir /usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library/mxbai-embed-large && chmod 777 /usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library/mxbai-embed-large
66
- RUN mkdir /usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library/openchat_story && chmod 777 /usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library/openchat_story
67
- RUN mkdir /usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library/mistral_story && chmod 777 /usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library/mistral_story
68
- RUN mkdir /usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library/mistrallite_story && chmod 777 /usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library/mistrallite_story
69
  RUN mkdir /usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library/all-minilm && chmod 777 /usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library/all-minilm
70
  RUN mkdir /usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library/nomic-embed-text && chmod 777 /usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library/nomic-embed-text
71
 
72
 
73
  #Copy des fichiers latest
74
- COPY --chown=appuser alfred_erbot/latest /usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library/alfred_erbot
75
- COPY --chown=appuser command_erbot/latest /usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library/command_erbot
76
- COPY --chown=appuser dolphi-phi_erbot/latest /usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library/dolphi-phi_erbot
77
- COPY --chown=appuser falcon_erbot/latest /usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library/falcon_erbot
78
- COPY --chown=appuser gemma_erbot/latest /usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library/gemma_erbot
79
- COPY --chown=appuser llama2_erbot/latest /usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library/llama2_erbot
80
- COPY --chown=appuser meditron_erbot/latest /usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library/meditron_erbot
81
- COPY --chown=appuser medllama_erbot/latest /usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library/medllama_erbot
82
- COPY --chown=appuser mistral_erbot/latest /usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library/mistral_erbot
83
- COPY --chown=appuser mistrallite_erbot/latest /usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library/mistrallite_erbot
84
- COPY --chown=appuser openchat_erbot/latest /usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library/openchat_erbot
85
- COPY --chown=appuser stablelm2_erbot/latest /usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library/stablelm2_erbot
86
  COPY --chown=appuser mxbai-embed-large/latest /usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library/mxbai-embed-large
87
- COPY --chown=appuser openchat_story/latest /usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library/openchat_story
88
- COPY --chown=appuser mistral_story/latest /usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library/mistral_story
89
  COPY --chown=appuser mistrallite_story/latest /usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library/mistrallite_story
90
  COPY --chown=appuser all-minilm/latest /usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library/all-minilm
91
  COPY --chown=appuser nomic-embed-text/latest /usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library/nomic-embed-text
92
- COPY --chown=appuser mixtral_erbot/latest /usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library/mistral_erbot
93
 
94
 
95
  #COPY --chown=appuser models /usr/share/ollama/.ollama/models
 
24
  #Copy fichiers blobs
25
  #RUN mkdir /usr/share/ollama/.ollama/models && chmod 777 /usr/share/ollama/.ollama/models
26
  #RUN mkdir /usr/share/ollama/.ollama/models/blobs && chmod 777 /usr/share/ollama/.ollama/models/blobs
27
+ #COPY --chown=appuser alfred_erbot/blobs /usr/share/ollama/.ollama/models/blobs
28
+ #COPY --chown=appuser command_erbot/blobs /usr/share/ollama/.ollama/models/blobs
29
+ #COPY --chown=appuser dolphi-phi_erbot/blobs /usr/share/ollama/.ollama/models/blobs
30
+ #COPY --chown=appuser falcon_erbot/blobs /usr/share/ollama/.ollama/models/blobs
31
+ #COPY --chown=appuser gemma_erbot/blobs /usr/share/ollama/.ollama/models/blobs
32
+ #COPY --chown=appuser llama2_erbot/blobs /usr/share/ollama/.ollama/models/blobs
33
+ #COPY --chown=appuser meditron_erbot/blobs /usr/share/ollama/.ollama/models/blobs
34
+ #COPY --chown=appuser medllama_erbot/blobs /usr/share/ollama/.ollama/models/blobs
35
+ #COPY --chown=appuser mistral_erbot/blobs /usr/share/ollama/.ollama/models/blobs
36
+ #COPY --chown=appuser mistrallite_erbot/blobs /usr/share/ollama/.ollama/models/blobs
37
+ #COPY --chown=appuser openchat_erbot/blobs /usr/share/ollama/.ollama/models/blobs
38
+ #COPY --chown=appuser stablelm2_erbot/blobs /usr/share/ollama/.ollama/models/blobs
39
  COPY --chown=appuser mxbai-embed-large/blobs /usr/share/ollama/.ollama/models/blobs
40
+ #COPY --chown=appuser openchat_story/blobs /usr/share/ollama/.ollama/models/blobs
41
+ #COPY --chown=appuser mistral_story/blobs /usr/share/ollama/.ollama/models/blobs
42
+ #COPY --chown=appuser mistrallite_story/blobs /usr/share/ollama/.ollama/models/blobs
43
  COPY --chown=appuser all-minilm/blobs /usr/share/ollama/.ollama/models/blobs
44
  COPY --chown=appuser nomic-embed-text/blobs /usr/share/ollama/.ollama/models/blobs
45
+ COPY --chown=appuser llama3/blobs /usr/ollama/.ollama/models/blobs
46
 
47
  #Création des dossier pour recevoir les fichiers latest
48
  RUN mkdir /usr/share/ollama/.ollama/models/manifests && chmod 777 /usr/share/ollama/.ollama/models/manifests
49
  RUN mkdir /usr/share/ollama/.ollama/models/manifests/registry.ollama.ai && chmod 777 /usr/share/ollama/.ollama/models/manifests/registry.ollama.ai
50
  RUN mkdir /usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library && chmod 777 /usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library
51
+ RUN mkdir /usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library/llama3 && chmod 777 /usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library/llama3
52
+
53
+
54
+ #RUN mkdir /usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library/command_erbot && chmod 777 /usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library/command_erbot
55
+ #RUN mkdir /usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library/dolphi-phi_erbot && chmod 777 /usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library/dolphi-phi_erbot
56
+ #RUN mkdir /usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library/falcon_erbot && chmod 777 /usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library/falcon_erbot
57
+ #RUN mkdir /usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library/gemma_erbot && chmod 777 /usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library/gemma_erbot
58
+ #RUN mkdir /usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library/llama2_erbot && chmod 777 /usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library/llama2_erbot
59
+ #RUN mkdir /usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library/meditron_erbot && chmod 777 /usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library/meditron_erbot
60
+ #RUN mkdir /usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library/medllama_erbot && chmod 777 /usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library/medllama_erbot
61
+ #RUN mkdir /usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library/mistral_erbot && chmod 777 /usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library/mistral_erbot
62
+ #RUN mkdir /usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library/mistrallite_erbot && chmod 777 /usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library/mistrallite_erbot
63
+ #RUN mkdir /usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library/openchat_erbot && chmod 777 /usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library/openchat_erbot
64
+ #RUN mkdir /usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library/stablelm2_erbot && chmod 777 /usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library/stablelm2_erbot
65
  RUN mkdir /usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library/mxbai-embed-large && chmod 777 /usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library/mxbai-embed-large
66
+ #RUN mkdir /usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library/openchat_story && chmod 777 /usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library/openchat_story
67
+ #RUN mkdir /usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library/mistral_story && chmod 777 /usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library/mistral_story
68
+ #RUN mkdir /usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library/mistrallite_story && chmod 777 /usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library/mistrallite_story
69
  RUN mkdir /usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library/all-minilm && chmod 777 /usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library/all-minilm
70
  RUN mkdir /usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library/nomic-embed-text && chmod 777 /usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library/nomic-embed-text
71
 
72
 
73
  #Copy des fichiers latest
74
+ COPY --chown=appuser llama3/latest /usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library/llama3
75
+ #COPY --chown=appuser alfred_erbot/latest /usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library/alfred_erbot
76
+ #COPY --chown=appuser command_erbot/latest /usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library/command_erbot
77
+ #COPY --chown=appuser dolphi-phi_erbot/latest /usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library/dolphi-phi_erbot
78
+ #COPY --chown=appuser falcon_erbot/latest /usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library/falcon_erbot
79
+ #COPY --chown=appuser gemma_erbot/latest /usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library/gemma_erbotCOPY --chown=appuser llama2_erbot/latest /usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library/llama2_erbot
80
+ #COPY --chown=appuser meditron_erbot/latest /usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library/meditron_erbot
81
+ #COPY --chown=appuser medllama_erbot/latest /usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library/medllama_erbot
82
+ #COPY --chown=appuser mistral_erbot/latest /usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library/mistral_erbot
83
+ #COPY --chown=appuser mistrallite_erbot/latest /usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library/mistrallite_erbot
84
+ #COPY --chown=appuser openchat_erbot/latest /usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library/openchat_erbot
85
+ #COPY --chown=appuser stablelm2_erbot/latest /usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library/stablelm2_erbot
86
  COPY --chown=appuser mxbai-embed-large/latest /usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library/mxbai-embed-large
87
+ #COPY --chown=appuser openchat_story/latest /usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library/openchat_story
88
+ #COPY --chown=appuser mistral_story/latest /usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library/mistral_story
89
  COPY --chown=appuser mistrallite_story/latest /usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library/mistrallite_story
90
  COPY --chown=appuser all-minilm/latest /usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library/all-minilm
91
  COPY --chown=appuser nomic-embed-text/latest /usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library/nomic-embed-text
92
+ #COPY --chown=appuser mixtral_erbot/latest /usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library/mistral_erbot
93
 
94
 
95
  #COPY --chown=appuser models /usr/share/ollama/.ollama/models