matthoffner commited on
Commit
396d41c
·
verified ·
1 Parent(s): b81b098

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -12
Dockerfile CHANGED
@@ -20,17 +20,8 @@ RUN apt-get install -y wget && \
20
 
21
  COPY requirements.txt ./
22
 
23
- RUN pip3 install --upgrade pip && \
24
- pip3 install -r requirements.txt
25
-
26
- # Cloning the llama-cpp-python repository
27
- #RUN git clone https://github.com/abetlen/llama-cpp-python.git
28
- #WORKDIR llama-cpp-python
29
- # Initializing and updating the llama.cpp submodule
30
- #RUN git submodule init && git submodule update
31
-
32
- # Building the llama-cpp-python
33
- # RUN FORCE_CMAKE=1 pip install .
34
 
35
  # Moving back to /app directory
36
  WORKDIR /app
@@ -63,4 +54,4 @@ RUN ls -al
63
 
64
  EXPOSE 8000
65
 
66
- CMD ["python3", "-m", "llama_cpp.server", "--config_file", "config.toml"]
 
20
 
21
  COPY requirements.txt ./
22
 
23
+ RUN pip install --upgrade pip && \
24
+ pip install -r requirements.txt
 
 
 
 
 
 
 
 
 
25
 
26
  # Moving back to /app directory
27
  WORKDIR /app
 
54
 
55
  EXPOSE 8000
56
 
57
+ CMD ["python", "-m", "llama_cpp.server", "--config_file", "config.toml"]