Update Dockerfile
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
|
@@ -2,6 +2,9 @@ FROM ollama/ollama:latest
|
|
| 2 |
|
| 3 |
WORKDIR /app
|
| 4 |
|
|
|
|
|
|
|
|
|
|
| 5 |
# Install Ollama
|
| 6 |
RUN curl https://ollama.ai/install.sh | sh
|
| 7 |
|
|
@@ -11,9 +14,6 @@ RUN mkdir -p /.ollama && chmod 777 /.ollama
|
|
| 11 |
# Ensure Ollama binary is in the PATH
|
| 12 |
ENV PATH="/app/venv/bin:/root/.ollama/bin:$PATH"
|
| 13 |
|
| 14 |
-
COPY ollama.sh /app
|
| 15 |
-
RUN chmod +x /ollama.sh
|
| 16 |
-
|
| 17 |
EXPOSE 11434
|
| 18 |
|
| 19 |
ENTRYPOINT ["/ollama"]
|
|
|
|
| 2 |
|
| 3 |
WORKDIR /app
|
| 4 |
|
| 5 |
+
COPY ollama.sh /app
|
| 6 |
+
RUN chmod +x /ollama.sh
|
| 7 |
+
|
| 8 |
# Install Ollama
|
| 9 |
RUN curl https://ollama.ai/install.sh | sh
|
| 10 |
|
|
|
|
| 14 |
# Ensure Ollama binary is in the PATH
|
| 15 |
ENV PATH="/app/venv/bin:/root/.ollama/bin:$PATH"
|
| 16 |
|
|
|
|
|
|
|
|
|
|
| 17 |
EXPOSE 11434
|
| 18 |
|
| 19 |
ENTRYPOINT ["/ollama"]
|