matthoffner commited on
Commit
f9ea3dd
·
1 Parent(s): d524cc5

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -2
Dockerfile CHANGED
@@ -11,8 +11,6 @@ RUN export PATH="/usr/local/cuda/bin:$PATH"
11
  RUN wget -qO- "https://cmake.org/files/v3.17/cmake-3.17.0-Linux-x86_64.tar.gz" | tar --strip-components=1 -xz -C /usr/local
12
  RUN CMAKE_ARGS="-DLLAMA_CUBLAS=on" FORCE_CMAKE=1 pip install llama-cpp-python --no-cache-dir
13
  COPY requirements.txt ./
14
- RUN pip install --upgrade pip && \
15
- pip install --no-cache-dir --upgrade -r requirements.txt
16
 
17
  RUN useradd -m -u 1000 user
18
 
@@ -23,6 +21,9 @@ ENV HOME=/home/user \
23
 
24
  WORKDIR $HOME/app
25
 
 
 
 
26
  COPY --chown=user . $HOME/app
27
 
28
  RUN ls -al
 
11
  RUN wget -qO- "https://cmake.org/files/v3.17/cmake-3.17.0-Linux-x86_64.tar.gz" | tar --strip-components=1 -xz -C /usr/local
12
  RUN CMAKE_ARGS="-DLLAMA_CUBLAS=on" FORCE_CMAKE=1 pip install llama-cpp-python --no-cache-dir
13
  COPY requirements.txt ./
 
 
14
 
15
  RUN useradd -m -u 1000 user
16
 
 
21
 
22
  WORKDIR $HOME/app
23
 
24
+ RUN pip install --upgrade pip && \
25
+ pip install --no-cache-dir --upgrade -r requirements.txt
26
+
27
  COPY --chown=user . $HOME/app
28
 
29
  RUN ls -al