HirCoir commited on
Commit
84fdffe
·
verified ·
1 Parent(s): ee23670

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +0 -3
Dockerfile CHANGED
@@ -32,12 +32,9 @@ RUN tar xvf piper_linux_x86_64.tar.gz && \
32
 
33
  # Expone el puerto en el que Flask se ejecutará dentro del contenedor
34
  EXPOSE 7860
35
- RUN curl -fsSL https://ollama.com/install.sh | sh
36
- RUN nohup /usr/local/bin/ollama serve > /tmp/ollama.log 2>&1 & sleep 5
37
 
38
  RUN ollama pull llama3.2:1b
39
  RUN echo '#!/bin/bash\n\
40
- nohup /usr/local/bin/ollama serve > /tmp/ollama.log 2>&1 & sleep 5\n\
41
  python app.py' > start.sh
42
  # Haz que el script sea ejecutable
43
  RUN chmod +x start.sh
 
32
 
33
  # Expone el puerto en el que Flask se ejecutará dentro del contenedor
34
  EXPOSE 7860
 
 
35
 
36
  RUN ollama pull llama3.2:1b
37
  RUN echo '#!/bin/bash\n\
 
38
  python app.py' > start.sh
39
  # Haz que el script sea ejecutable
40
  RUN chmod +x start.sh