File tree Expand file tree Collapse file tree 3 files changed +22
-2
lines changed Expand file tree Collapse file tree 3 files changed +22
-2
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ RUN apt-get update \
19
19
&& ln -nfs /usr/bin/python${PYTHON_VERSION} /usr/bin/python3 \
20
20
&& rm -rf /var/lib/apt/lists/* \
21
21
&& curl -sSL https://bootstrap.pypa.io/get-pip.py | python -
22
+ RUN pip install uv
22
23
RUN pip install torch torchvision --index-url https://download.pytorch.org/whl/cu124
23
24
24
25
WORKDIR /app
Original file line number Diff line number Diff line change 1
1
docker-compose.yml
2
2
3
3
``` yml
4
- version : " 3"
5
-
6
4
services :
7
5
app :
8
6
build :
@@ -25,3 +23,13 @@ services:
25
23
# command: sleep infinity
26
24
command : python train_rinna.py
27
25
` ` `
26
+
27
+ Dockerfile
28
+
29
+ ` ` ` dockerfile
30
+ FROM ghcr.io/thr3a/cuda12.4-torch:latest
31
+
32
+ WORKDIR /app
33
+ COPY ./requirements.txt ./
34
+ RUN pip install -r requirements.txt
35
+ ```
Original file line number Diff line number Diff line change
1
+ FROM ubuntu:24.04
2
+
3
+ RUN apt-get update \
4
+ && apt-get install -y --no-install-recommends ffmpeg curl ca-certificates \
5
+ && rm -rf /var/lib/apt/lists/*
6
+
7
+ RUN curl -L https://github.com/Based-Programmer/titans/releases/download/v4.0.7/titans > /usr/local/bin/titan
8
+
9
+ # ENTRYPOINT ["/usr/bin/pdftotext"]
10
+
11
+ # CMD ["-layout", "-", "-"]
You can’t perform that action at this time.
0 commit comments