Skip to content

Commit 6a26f64

Browse files
committed
feat: Modified dockerfiles to use uv instead of pip
1 parent 7ac4af6 commit 6a26f64

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

config/Dockerfile.api

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ WORKDIR /app
44

55
COPY pyproject.toml .
66
RUN pip install uv && \
7-
uv pip compile pyproject.toml -o requirements.txt && \
8-
uv pip install --no-cache-dir -r requirements.txt
7+
uv pip compile pyproject.toml -o requirements.txt --system && \
8+
uv pip install --no-cache-dir -r requirements.txt --system
99

1010
COPY src/ ./src/
1111
COPY models/model.joblib ./models/

config/Dockerfile.streamlit

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ WORKDIR /app
44

55
COPY pyproject.toml .
66
RUN pip install uv && \
7-
uv pip compile pyproject.toml -o requirements.txt && \
8-
uv pip install --no-cache-dir -r requirements.txt
7+
uv pip compile pyproject.toml -o requirements.txt --system && \
8+
uv pip install --no-cache-dir -r requirements.txt --system
99

1010
COPY src/ ./src/
1111

0 commit comments

Comments
 (0)