muryshev commited on
Commit
0984342
1 Parent(s): 56ec37d

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -1
Dockerfile CHANGED
@@ -35,7 +35,12 @@ WORKDIR /app
35
  # Copy the executable from the build stage
36
  COPY --from=build /build/llama.cpp/build/bin/server /app
37
  COPY --from=build /data/model.gguf /data/model.gguf
 
38
  WORKDIR /app
39
  EXPOSE 7860
40
 
41
- CMD ./server -m /data/model.gguf -c 4096 -ngl 35 --port 7860 --host 0.0.0.0
 
 
 
 
 
35
  # Copy the executable from the build stage
36
  COPY --from=build /build/llama.cpp/build/bin/server /app
37
  COPY --from=build /data/model.gguf /data/model.gguf
38
+ COPY ./run.sh /app/run.sh
39
  WORKDIR /app
40
  EXPOSE 7860
41
 
42
+ # Make the script executable
43
+ RUN chmod +x run.sh
44
+
45
+ # CMD to run your script
46
+ CMD ./run.sh