Skip to content

Commit

Permalink
pull latest image before start
Browse files Browse the repository at this point in the history
  • Loading branch information
selimseker committed Aug 13, 2024
1 parent 3548faa commit 0e67173
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,10 @@ fi
write_to_env_file "${compute_envs[@]}"
write_to_env_file "${ollama_envs[@]}"

# update the image
echo "Pulling the latest compute node image..."
docker pull firstbatch/dkn-compute-node:latest -q

# prepare compose profiles
COMPOSE_PROFILES=$(IFS=","; echo "${COMPOSE_PROFILES[*]}")
COMPOSE_PROFILES="COMPOSE_PROFILES=\"${COMPOSE_PROFILES}\""
Expand Down

0 comments on commit 0e67173

Please sign in to comment.