Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +2 -1
Dockerfile
CHANGED
@@ -33,7 +33,8 @@ RUN tar xvf piper_linux_x86_64.tar.gz && \
|
|
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 /usr/local/bin/ollama serve &
|
|
|
37 |
RUN ollama pull llama3.2:1b
|
38 |
RUN echo '#!/bin/bash\n\
|
39 |
/usr/local/bin/ollama serve &\n\
|
|
|
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 |
/usr/local/bin/ollama serve &\n\
|