Spaces:
Sleeping
Sleeping
Update Dockerfile with data directory configuration
Browse files- Dockerfile +0 -19
Dockerfile
DELETED
@@ -1,19 +0,0 @@
|
|
1 |
-
FROM ollama/ollama
|
2 |
-
|
3 |
-
VOLUME /root/.ollama
|
4 |
-
|
5 |
-
RUN echo '#!/bin/bash\n\
|
6 |
-
export OLLAMA_HOST=0.0.0.0:7860\n\
|
7 |
-
ollama serve &\n\
|
8 |
-
sleep 20\n\
|
9 |
-
echo "Pulling minicpm-v..."\n\
|
10 |
-
ollama pull minicpm-v\n\
|
11 |
-
wait' > /start.sh && chmod +x /start.sh
|
12 |
-
|
13 |
-
EXPOSE 7860
|
14 |
-
ENTRYPOINT ["/bin/bash", "/start.sh"]
|
15 |
-
|
16 |
-
|
17 |
-
#git add Dockerfile
|
18 |
-
#git commit -m "Update Dockerfile with Ollama service initialization"
|
19 |
-
#git push origin master
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|