diff --git a/deployments/dev/images/default/Dockerfile b/deployments/dev/images/default/Dockerfile index f5f6fe4dd..f4dc81b29 100644 --- a/deployments/dev/images/default/Dockerfile +++ b/deployments/dev/images/default/Dockerfile @@ -125,9 +125,9 @@ RUN R -e "IRkernel::installspec(user = FALSE, prefix='${CONDA_DIR}')" # clear out /tmp USER root -COPY postBuild /tmp/postBuild -RUN chmod +x /tmp/postBuild -RUN /tmp/postBuild +#COPY postBuild /tmp/postBuild +#RUN chmod +x /tmp/postBuild +#RUN /tmp/postBuild RUN rm -rf /tmp/* diff --git a/deployments/dev/images/default/postBuild b/deployments/dev/images/default/postBuild deleted file mode 100644 index 1766071c3..000000000 --- a/deployments/dev/images/default/postBuild +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/bash - -# Define the directory for persistent storage -OLLAMA_DATA_DIR="/persistent/ollama" - -# Create the directory if it doesn't exist -mkdir -p $OLLAMA_DATA_DIR - -# Download the Ollama executable -wget https://github.com/ollama/ollama/releases/download/v0.1.48/ollama-linux-amd64 -O /usr/local/bin/ollama - -# Make the Ollama executable runnable -chmod +x /usr/local/bin/ollama - -# Run the phi3:mini model with the specified data directory -# /usr/local/bin/ollama run phi3:mini --data-dir $OLLAMA_DATA_DIR - -# Run the tinyllama model with the specified data directory -# /usr/local/bin/ollama run tinyllama --data-dir $OLLAMA_DATA_DIR