github-actions[bot] commited on
Commit
4094ce2
·
1 Parent(s): 9d0299c

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

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -9
Dockerfile CHANGED
@@ -1,14 +1,7 @@
1
  FROM nvidia/cuda:12.2.2-cudnn8-devel-ubuntu22.04
2
 
3
- RUN pip3 install --no-cache-dir --upgrade pip
4
- 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
5
- RUN pip3 install document-to-podcast
6
-
7
- RUN groupadd --gid 1000 appuser \
8
- && useradd --uid 1000 --gid 1000 --create-home appuser \
9
- && chown -R appuser:appuser /home/appuser
10
-
11
- USER appuser
12
 
13
  EXPOSE 8501
14
  ENTRYPOINT ["python3", "app.py"]
 
1
  FROM nvidia/cuda:12.2.2-cudnn8-devel-ubuntu22.04
2
 
3
+ RUN pip 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
4
+ RUN pip install document-to-podcast
 
 
 
 
 
 
 
5
 
6
  EXPOSE 8501
7
  ENTRYPOINT ["python3", "app.py"]