glodov commited on
Commit
91b710f
·
verified ·
1 Parent(s): 54e2073

Delete Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +0 -24
Dockerfile DELETED
@@ -1,24 +0,0 @@
1
- FROM ghcr.io/open-webui/open-webui:ollama
2
-
3
- # Set up proper paths for Hugging Face
4
- ENV OLLAMA_HOST=0.0.0.0
5
- WORKDIR /app
6
-
7
- EXPOSE 7860
8
-
9
- # Create symbolic links for persistent storage
10
- RUN mkdir -p /data/ollama && \
11
- mkdir -p /data/webui && \
12
- ln -sf /data/ollama /root/.ollama && \
13
- ln -sf /data/webui /app/backend/data
14
-
15
- # Copy custom start script
16
- COPY start.sh /app/start.sh
17
- RUN chmod +x /app/start.sh
18
-
19
- # Health check
20
- HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \
21
- CMD curl -f http://localhost:8080 || exit 1
22
-
23
- # Run the start script
24
- CMD ["/bin/bash", "/app/start.sh"]