Skip to content

Commit 2ca0b17

Browse files
author
thr3a
committed
update: uデフォルトでいれる
1 parent 397dc35 commit 2ca0b17

File tree

3 files changed

+22
-2
lines changed

3 files changed

+22
-2
lines changed

cuda12.4-torch/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ RUN apt-get update \
1919
&& ln -nfs /usr/bin/python${PYTHON_VERSION} /usr/bin/python3 \
2020
&& rm -rf /var/lib/apt/lists/* \
2121
&& curl -sSL https://bootstrap.pypa.io/get-pip.py | python -
22+
RUN pip install uv
2223
RUN pip install torch torchvision --index-url https://download.pytorch.org/whl/cu124
2324

2425
WORKDIR /app

cuda12.4-torch/README.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
docker-compose.yml
22

33
```yml
4-
version: "3"
5-
64
services:
75
app:
86
build:
@@ -25,3 +23,13 @@ services:
2523
# command: sleep infinity
2624
command: python train_rinna.py
2725
```
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+
```

titans/Dockerfile

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
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", "-", "-"]

0 commit comments

Comments
 (0)