Skip to content

Commit a6fbf7e

Browse files
authored
NO-JIRA: Add pip cache to all docker images (#2736)
1 parent a01216d commit a6fbf7e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

apps/opik-python-backend/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ RUN apk add --no-cache tini python3 py3-pip rust cargo
55
WORKDIR /opt/opik-python-backend
66

77
COPY requirements.txt .
8-
RUN pip install -r requirements.txt --break-system-packages
8+
RUN pip install --no-cache-dir -r requirements.txt --break-system-packages
99

1010
ENV PYTHON_CODE_EXECUTOR_ASSET_NAME="opik-sandbox-executor-python"
1111
# Optionally copies the file. It's built ok without it, as it'll be pulled before running anyway.

apps/opik-sandbox-executor-python/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ FROM python:3.12.9-slim
33
WORKDIR /opt/opik-sandbox-executor-python
44

55
COPY requirements.txt .
6-
RUN pip install -r requirements.txt
6+
RUN pip install --no-cache-dir -r requirements.txt
77

88
RUN chown -R 1001:1001 /opt/opik-sandbox-executor-python
99
USER 1001:1001

0 commit comments

Comments
 (0)