From a9e3c3f3c9b8fb75b042cac7aeb24c59c98333d8 Mon Sep 17 00:00:00 2001 From: yeon2 Date: Thu, 23 Apr 2026 12:10:16 +0900 Subject: [PATCH] fix(docker): install custom packages into runtime venv --- sentry/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sentry/Dockerfile b/sentry/Dockerfile index 62a490e4de4..869bcc4a2f6 100644 --- a/sentry/Dockerfile +++ b/sentry/Dockerfile @@ -1,7 +1,7 @@ ARG SENTRY_IMAGE FROM ${SENTRY_IMAGE} -RUN pip install https://github.com/getsentry/sentry-nodestore-s3/archive/main.zip +RUN /.venv/bin/pip install https://github.com/getsentry/sentry-nodestore-s3/archive/main.zip COPY . /usr/src/sentry @@ -11,5 +11,5 @@ RUN if [ -s /usr/src/sentry/enhance-image.sh ]; then \ RUN if [ -s /usr/src/sentry/requirements.txt ]; then \ echo "sentry/requirements.txt is deprecated, use sentry/enhance-image.sh - see https://develop.sentry.dev/self-hosted/#enhance-sentry-image"; \ - pip install -r /usr/src/sentry/requirements.txt; \ + /.venv/bin/pip install -r /usr/src/sentry/requirements.txt; \ fi