Spaces:
Running
on
T4
Running
on
T4
github-actions[bot]
commited on
Commit
·
5d0bb1d
1
Parent(s):
4094ce2
Sync with https://github.com/mozilla-ai/document-to-podcast
Browse files- Dockerfile +9 -2
Dockerfile
CHANGED
@@ -1,7 +1,14 @@
|
|
1 |
FROM nvidia/cuda:12.2.2-cudnn8-devel-ubuntu22.04
|
2 |
|
3 |
-
RUN
|
4 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5 |
|
6 |
EXPOSE 8501
|
7 |
ENTRYPOINT ["python3", "app.py"]
|
|
|
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 \
|
6 |
+
python3-pip \
|
7 |
+
git \
|
8 |
+
&& apt-get clean && rm -rf /var/lib/apt/lists/*
|
9 |
+
|
10 |
+
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
|
11 |
+
RUN pip3 install document-to-podcast
|
12 |
|
13 |
EXPOSE 8501
|
14 |
ENTRYPOINT ["python3", "app.py"]
|