iAkashPaul commited on
Commit
7cadd44
·
verified ·
1 Parent(s): d133a8e

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -3
Dockerfile CHANGED
@@ -2,10 +2,10 @@ FROM python:3.9-slim-bookworm
2
  USER root
3
  RUN apt update && apt install curl git gcc make build-essential -y
4
  RUN git clone https://github.com/ggerganov/llama.cpp
5
- WORKDIR llama.cpp
6
  RUN make -ij server
7
- WORKDIR llama.cpp/models
8
  RUN curl -L "https://huggingface.co/iAkashPaul/gemma-7b-it-gguf/resolve/main/gemma-7b-it-Q4_0.gguf?download=true" --output gemma-7b-it-Q4_0.gguf
9
- WORKDIR llama.cpp
10
  EXPOSE 8080
11
  CMD ./server -m ./models/gemma-7b-it-Q4_0.gguf
 
2
  USER root
3
  RUN apt update && apt install curl git gcc make build-essential -y
4
  RUN git clone https://github.com/ggerganov/llama.cpp
5
+ WORKDIR /llama.cpp
6
  RUN make -ij server
7
+ WORKDIR /llama.cpp/models
8
  RUN curl -L "https://huggingface.co/iAkashPaul/gemma-7b-it-gguf/resolve/main/gemma-7b-it-Q4_0.gguf?download=true" --output gemma-7b-it-Q4_0.gguf
9
+ WORKDIR /llama.cpp
10
  EXPOSE 8080
11
  CMD ./server -m ./models/gemma-7b-it-Q4_0.gguf