translator-ollama / entrypoint.sh
johnpaulbin's picture
Create entrypoint.sh
6ce66dc verified
raw
history blame contribute delete
185 Bytes
#!/bin/bash
# Starting server
echo "Starting server"
ollama serve &
sleep 1
ollama create translator -f Modelfile
# Keep the script running to prevent the container from exiting
wait