github-actions[bot] commited on
Commit
42e161b
·
1 Parent(s): 6a42a11

Sync with https://github.com/mozilla-ai/document-to-podcast

Browse files
Files changed (1) hide show
  1. Dockerfile +8 -9
Dockerfile CHANGED
@@ -1,14 +1,5 @@
1
  FROM nvidia/cuda:12.2.2-cudnn8-devel-ubuntu22.04
2
 
3
- RUN useradd -m -u 1000 user
4
-
5
- USER user
6
-
7
- ENV HOME=/home/user \
8
- PATH=/home/user/.local/bin:$PATH
9
-
10
- WORKDIR $HOME/app
11
-
12
  RUN apt-get update && apt-get install --no-install-recommends -y \
13
  build-essential \
14
  python3.10 \
@@ -17,6 +8,14 @@ RUN apt-get update && apt-get install --no-install-recommends -y \
17
  git \
18
  && apt-get clean && rm -rf /var/lib/apt/lists/*
19
 
 
 
 
 
 
 
 
 
20
 
21
  RUN pip3 install https://github.com/abetlen/llama-cpp-python/releases/download/v0.3.4-cu122/llama_cpp_python-0.3.4-cp310-cp310-linux_x86_64.whl
22
  RUN pip3 install document-to-podcast
 
1
  FROM nvidia/cuda:12.2.2-cudnn8-devel-ubuntu22.04
2
 
 
 
 
 
 
 
 
 
 
3
  RUN apt-get update && apt-get install --no-install-recommends -y \
4
  build-essential \
5
  python3.10 \
 
8
  git \
9
  && apt-get clean && rm -rf /var/lib/apt/lists/*
10
 
11
+ RUN useradd -m -u 1000 user
12
+
13
+ USER user
14
+
15
+ ENV HOME=/home/user \
16
+ PATH=/home/user/.local/bin:$PATH
17
+
18
+ WORKDIR $HOME/app
19
 
20
  RUN pip3 install https://github.com/abetlen/llama-cpp-python/releases/download/v0.3.4-cu122/llama_cpp_python-0.3.4-cp310-cp310-linux_x86_64.whl
21
  RUN pip3 install document-to-podcast