Bleak commited on
Commit
9aecc7c
·
verified ·
1 Parent(s): a787608

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -5
Dockerfile CHANGED
@@ -4,8 +4,6 @@ FROM ubuntu:latest
4
 
5
  WORKDIR /app
6
 
7
- COPY .. app
8
-
9
  RUN apt-get update && \
10
  apt-get install -y --no-install-recommends python3 python3-pip && \
11
  rm -rf /var/lib/apt/lists/*
@@ -24,12 +22,13 @@ RUN apt-get update && apt-get upgrade -y && apt-get install -y \
24
 
25
  #RUN cd llama-b6795-bin-ubuntu-x64/build/bin && chmod +x ./llama-server && ./llama-server --model Qwen3-1.7B-Q8_0.gguf --ctx-size-draft 32767 --ctx-size 32767 --temp 1.0 --top-k 64 --top-k 0.95 --min-p 0.0 --log-file llama.log &
26
 
 
 
27
  # Copy the entry point script
28
- #COPY entrypoint.sh /entrypoint.sh
29
  RUN chmod +x /entrypoint.sh
30
-
31
  # Set the entry point script as the default command
32
- ENTRYPOINT ["entrypoint.sh"]
33
  #CMD ["ollama", "serve"]
34
 
35
  # Expose the server port
 
4
 
5
  WORKDIR /app
6
 
 
 
7
  RUN apt-get update && \
8
  apt-get install -y --no-install-recommends python3 python3-pip && \
9
  rm -rf /var/lib/apt/lists/*
 
22
 
23
  #RUN cd llama-b6795-bin-ubuntu-x64/build/bin && chmod +x ./llama-server && ./llama-server --model Qwen3-1.7B-Q8_0.gguf --ctx-size-draft 32767 --ctx-size 32767 --temp 1.0 --top-k 64 --top-k 0.95 --min-p 0.0 --log-file llama.log &
24
 
25
+ COPY .. app
26
+
27
  # Copy the entry point script
28
+ COPY entrypoint.sh /entrypoint.sh
29
  RUN chmod +x /entrypoint.sh
 
30
  # Set the entry point script as the default command
31
+ ENTRYPOINT ["/entrypoint.sh"]
32
  #CMD ["ollama", "serve"]
33
 
34
  # Expose the server port