Pasansandeeptha's picture
Create Docket
040376f verified
Raw History Blame Contribute Delete
654 Bytes
FROM python:3.10
# Linux පද්ධතියට අවශ්‍ය tools දැමීම
RUN apt-get update && apt-get install -y tor curl procps net-tools
# Ollama (AI මොළය) නිවැරදිව ඉන්ස්ටෝල් කිරීම
RUN curl -fsSL https://ollama.com/install.sh | sh
# අපේ පාලක script එක ඇතුළත් කිරීම
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
# Web Interface එකට අවශ්‍ය Streamlit ඉන්ස්ටෝල් කිරීම
RUN pip install streamlit requests
# Port එක සැකසීම
EXPOSE 7860
ENTRYPOINT ["/entrypoint.sh"]