Skip to content

Commit

Permalink
Use pip
Browse files Browse the repository at this point in the history
  • Loading branch information
daavoo committed Jan 9, 2025
1 parent 4827d02 commit f6d3e51
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions demo/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,14 +1,7 @@
FROM nvidia/cuda:12.2.2-cudnn8-devel-ubuntu22.04

RUN pip3 install --no-cache-dir --upgrade pip
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
RUN pip3 install document-to-podcast

RUN groupadd --gid 1000 appuser \
&& useradd --uid 1000 --gid 1000 --create-home appuser \
&& chown -R appuser:appuser /home/appuser

USER appuser
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
RUN pip install document-to-podcast

EXPOSE 8501
ENTRYPOINT ["python3", "app.py"]

0 comments on commit f6d3e51

Please sign in to comment.