Skip to content

Commit 61f1276

Browse files
committed
Switch to UV for python package installation
1 parent 5caa703 commit 61f1276

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

web-apps/chat/Dockerfile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
1-
FROM python:3.11-slim
1+
# FROM python:3.11-slim
2+
FROM ghcr.io/astral-sh/uv:python3.11-bookworm-slim
23

34
ARG DIR=chat
45

56
COPY $DIR/requirements.txt requirements.txt
7+
RUN sed -i s$../utils$./utils$ requirements.txt
68
COPY utils utils
7-
RUN pip install --no-cache-dir -r requirements.txt
9+
# RUN pip install --no-cache-dir -r requirements.txt
10+
RUN uv pip install --system --no-cache-dir -r requirements.txt
811

912
COPY purge-google-fonts.sh purge-google-fonts.sh
1013
RUN bash purge-google-fonts.sh

0 commit comments

Comments
 (0)