Ved Gupta commited on
Commit
9bda413
·
1 Parent(s): 3ef7fff

Update Dockerfile: Comment out model download and copy commands, and modify CMD instruction

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -5
Dockerfile CHANGED
@@ -1,9 +1,9 @@
1
  FROM quay.io/go-skynet/local-ai:v2.7.0-ffmpeg-core
2
 
3
 
4
- RUN wget -q "https://huggingface.co/TheBloke/Mistral-7B-Instruct-v0.2-GGUF/resolve/main/mistral-7b-instruct-v0.2.Q4_0.gguf" -O models/mistral-7b-instruct-v0.2.Q4_0.gguf
5
- RUN wget -q "https://huggingface.co/TheBloke/Luna-AI-Llama2-Uncensored-GGUF/resolve/main/luna-ai-llama2-uncensored.Q4_0.gguf" -O models/luna-ai-llama2
6
- COPY models/* models/
7
 
8
  RUN useradd -m -u 1000 user
9
  USER user
@@ -15,5 +15,5 @@ EXPOSE 8080
15
  WORKDIR $HOME
16
  COPY --chown=user . $HOME
17
 
18
-
19
- CMD ["--models-path", "./models", "--context-size", "700", "--threads", "4"]
 
1
  FROM quay.io/go-skynet/local-ai:v2.7.0-ffmpeg-core
2
 
3
 
4
+ # RUN wget -q "https://huggingface.co/TheBloke/Mistral-7B-Instruct-v0.2-GGUF/resolve/main/mistral-7b-instruct-v0.2.Q4_0.gguf" -O models/mistral-7b-instruct-v0.2.Q4_0.gguf
5
+ # RUN wget -q "https://huggingface.co/TheBloke/Luna-AI-Llama2-Uncensored-GGUF/resolve/main/luna-ai-llama2-uncensored.Q4_0.gguf" -O models/luna-ai-llama2
6
+ # COPY models/* models/
7
 
8
  RUN useradd -m -u 1000 user
9
  USER user
 
15
  WORKDIR $HOME
16
  COPY --chown=user . $HOME
17
 
18
+ # CMD ["--models-path", "./models", "--context-size", "700", "--threads", "4"]
19
+ CMD ["phi-2"]