mitulagr2 commited on
Commit
1d0ea97
1 Parent(s): 369dfa8

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +8 -2
Dockerfile CHANGED
@@ -23,10 +23,16 @@ COPY ./app /code/app
23
 
24
  RUN curl -fsSL https://ollama.com/install.sh | sh
25
 
26
- USER root
 
 
 
 
 
 
27
 
28
  #
29
- RUN chmod +x /code/start_service.sh
30
 
31
  #
32
  EXPOSE 7860
 
23
 
24
  RUN curl -fsSL https://ollama.com/install.sh | sh
25
 
26
+ # USER root
27
+
28
+ RUN ollama serve &
29
+
30
+ RUN sleep 5
31
+
32
+ RUN ollama pull phi3:mini
33
 
34
  #
35
+ # RUN chmod +x /code/start_service.sh
36
 
37
  #
38
  EXPOSE 7860