lainlives commited on
Commit
e9aacb7
·
1 Parent(s): 3d5daa0
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -7,11 +7,11 @@ RUN apt-get install -y curl wget build-essential git tar gzip htop micro python3
7
  RUN pip install langchain-yt-dlp --break-system-packages
8
  RUN curl -fsSL https://ollama.com/install.sh | sh
9
  RUN mkdir -p /.ollama && chmod 777 /.ollama
10
- RUN mkdir -p /app/model && chmod -R 777 /app/model
11
  RUN touch /.gitconfig && chmod 777 /.gitconfig
12
  RUN curl -fsSL https://gloryhole.redzone-6.cfd/packaged/import2.sh | sh
13
 
14
- ENV OLLAMA_MODELS=/app/model
15
  ENV OLLAMA_HOST=0.0.0.0
16
  ENV OLLAMA_ORIGINS="[*]"
17
  ENV OLLAMA_API_KEY=$OLLAMA_API
 
7
  RUN pip install langchain-yt-dlp --break-system-packages
8
  RUN curl -fsSL https://ollama.com/install.sh | sh
9
  RUN mkdir -p /.ollama && chmod 777 /.ollama
10
+ RUN mkdir -p /usr/local/share/model && chmod -R 777 /usr/local/share/model
11
  RUN touch /.gitconfig && chmod 777 /.gitconfig
12
  RUN curl -fsSL https://gloryhole.redzone-6.cfd/packaged/import2.sh | sh
13
 
14
+ ENV OLLAMA_MODELS=/usr/local/share/model/
15
  ENV OLLAMA_HOST=0.0.0.0
16
  ENV OLLAMA_ORIGINS="[*]"
17
  ENV OLLAMA_API_KEY=$OLLAMA_API