Create ckerfile
Browse files
ckerfile
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
FROM python:3.9-slim
|
| 2 |
+
|
| 3 |
+
RUN apt-get update && apt-get install -y \
|
| 4 |
+
curl \
|
| 5 |
+
git \
|
| 6 |
+
&& rm -rf /var/lib/apt/lists/*
|
| 7 |
+
|
| 8 |
+
# Install Open WebUI
|
| 9 |
+
RUN curl -fsSL https://ollama.com/install.sh | sh
|
| 10 |
+
RUN pip install open-webui
|
| 11 |
+
|
| 12 |
+
# Start Ollama & Open WebUI
|
| 13 |
+
CMD ollama serve & open-webui
|