lainlives commited on
Commit
2f77917
·
1 Parent(s): 3a01f0a
Files changed (1) hide show
  1. Dockerfile +4 -4
Dockerfile CHANGED
@@ -3,14 +3,14 @@ FROM ubuntu:latest
3
  WORKDIR /app
4
  COPY . .
5
  # Update the package list and install curl
6
- RUN apt-get update && apt-get install -y curl wget build-essential git tar gzip htop micro
7
  RUN curl -fsSL https://ollama.com/install.sh | sh
8
- RUN mkdir -p /.ollama/model && chmod -R 777 /.ollama/model && chmod 777 /.ollama
9
- RUN touch /.gitconfig && chmod 777 /.gitconfig
10
  ENV OLLAMA_MODELS=/.ollama/model
11
  ENV OLLAMA_HOST=0.0.0.0
12
  ENV OLLAMA_ORIGINS="[*]"
13
  EXPOSE 7860
14
  EXPOSE 11434
15
 
16
- CMD ollama serve && sleep 45 && ollama pull codellama:13b && ollama pull starcoder2:15b && ollama pull wizardlm-uncensored:latest && ollama pull tinyllama:1.1b && ollama pull llama2-uncensored:latest && ollama pull qwen3-embedding:0.6b && ollama pull embeddinggemma:latest
 
3
  WORKDIR /app
4
  COPY . .
5
  # Update the package list and install curl
6
+ RUN apt-get update & apt-get install -y curl wget build-essential git tar gzip htop micro
7
  RUN curl -fsSL https://ollama.com/install.sh | sh
8
+ RUN mkdir -p /.ollama/model & chmod -R 777 /.ollama/model & chmod 777 /.ollama
9
+ RUN touch /.gitconfig & chmod 777 /.gitconfig
10
  ENV OLLAMA_MODELS=/.ollama/model
11
  ENV OLLAMA_HOST=0.0.0.0
12
  ENV OLLAMA_ORIGINS="[*]"
13
  EXPOSE 7860
14
  EXPOSE 11434
15
 
16
+ CMD ollama serve && sleep 45 & ollama pull codellama:13b & ollama pull starcoder2:15b & ollama pull wizardlm-uncensored:latest & ollama pull tinyllama:1.1b & ollama pull llama2-uncensored:latest & ollama pull qwen3-embedding:0.6b & ollama pull embeddinggemma:latest