tengal-teemo commited on
Commit
96029e0
·
verified ·
1 Parent(s): 72de3f2

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +7 -1
Dockerfile CHANGED
@@ -17,4 +17,10 @@ RUN curl -fLo model-00002-of-00002.gguf $MODEL_2 || true
17
  RUN curl -fLo imgmodel.ggml $IMGMODEL || true
18
  RUN curl -fLo mmproj.ggml $MMPROJ || true
19
  RUN curl -fLo whispermodel.ggml $WHISPERMODEL || true
20
- CMD ./koboldcpp --model model-00001-of-00002.gguf --whispermodel whispermodel.ggml --sdmodel imgmodel.ggml --sdthreads 4 --sdquant --sdclamped --mmproj mmproj.ggml $ADDITIONAL --port 7860 --hordemodelname $MODEL_NAME --hordemaxctx 1 --hordegenlen 1 --preloadstory default.json --chatcompletionsadapter adapter.json --ignoremissing $SECRET | tee -a /data/logging.txt
 
 
 
 
 
 
 
17
  RUN curl -fLo imgmodel.ggml $IMGMODEL || true
18
  RUN curl -fLo mmproj.ggml $MMPROJ || true
19
  RUN curl -fLo whispermodel.ggml $WHISPERMODEL || true
20
+
21
+ COPY entrypoint.sh /entrypoint.sh
22
+ RUN chmod +x entrypoint.sh
23
+ RUN mkdir /data/logs
24
+ RUN chmod 777 /data/logs
25
+
26
+ ENTRYPOINT ["/entrypoint.sh"]