File size: 542 Bytes
d0bb2fe
beec757
d0bb2fe
6029b83
a37ec79
1df91e1
d0bb2fe
5264f87
 
 
2f03212
44feb02
2f03212
d0bb2fe
bff594f
d0bb2fe
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Builder stage
FROM ubuntu:latest

RUN apt update &&  apt install curl -y

RUN curl https://ollama.ai/install.sh | sh

# Create the directory and give appropriate permissions
RUN mkdir -p /.ollama && chmod 777 /.ollama

COPY ./TamilLlama_Modelfile /.ollama/TamilLlama_Modelfile
RUN curl -L https://huggingface.co/abhinand/tamil-llama-7b-instruct-v0.1-gguf/resolve/main/tamil-llama-7b-v0.1-q4_k_m.gguf -o /.ollama/tamil-llama-7b-v0.1-q4_k_m.gguf

# Command to run the application
CMD ollama serve 

# Expose the server port
EXPOSE 7860