File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ ENV TZ=Asia/Tokyo
8
8
ENV PYTHONUNBUFFERED=1
9
9
ENV PIP_NO_CACHE_DIR=on
10
10
ENV PYTHONDONTWRITEBYTECODE=1
11
+ ENV UV_PROJECT_ENVIRONMENT="/usr/local/"
11
12
12
13
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv f23c5a6cf475977595c89f51ba6932366a755776 \
13
14
&& echo "deb http://ppa.launchpadcontent.net/deadsnakes/ppa/ubuntu jammy main" > /etc/apt/sources.list.d/python.list \
Original file line number Diff line number Diff line change @@ -30,6 +30,10 @@ Dockerfile
30
30
FROM ghcr.io/thr3a/cuda12.4-torch:latest
31
31
32
32
WORKDIR /app
33
- COPY ./requirements.txt ./
34
- RUN pip install -r requirements.txt
33
+ # COPY ./requirements.txt ./
34
+ # RUN pip install -r requirements.txt
35
+
36
+ COPY pyproject.toml ./
37
+ COPY uv.lock ./
38
+ RUN uv sync --frozen --no-cache
35
39
```
You can’t perform that action at this time.
0 commit comments