diff --git a/deployments/dev/images/default/Dockerfile b/deployments/dev/images/default/Dockerfile index a640bf8cc..f5f6fe4dd 100644 --- a/deployments/dev/images/default/Dockerfile +++ b/deployments/dev/images/default/Dockerfile @@ -125,8 +125,12 @@ 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 RUN rm -rf /tmp/* + USER ${NB_USER} WORKDIR /home/${NB_USER} diff --git a/deployments/dev/images/default/postBuild b/deployments/dev/images/default/postBuild index 450043039..1766071c3 100644 --- a/deployments/dev/images/default/postBuild +++ b/deployments/dev/images/default/postBuild @@ -13,7 +13,7 @@ wget https://github.com/ollama/ollama/releases/download/v0.1.48/ollama-linux-amd 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 +# /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 +# /usr/local/bin/ollama run tinyllama --data-dir $OLLAMA_DATA_DIR