From a7c5a32e36282f513e6dd5f9461f50114cb0597d Mon Sep 17 00:00:00 2001 From: Joe Adams Date: Mon, 16 Mar 2020 14:08:51 -0400 Subject: [PATCH] Fix regression from #407 for requirements install (#411) Changing the sentry/Dockerfile to remove the WORKDIR caused the RUN install requirements to use the wrong directory as context. --- sentry/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sentry/Dockerfile b/sentry/Dockerfile index bf8f198..88bb076 100644 --- a/sentry/Dockerfile +++ b/sentry/Dockerfile @@ -4,4 +4,4 @@ FROM ${SENTRY_IMAGE:-getsentry/sentry:latest} COPY . /usr/src/sentry # Hook for installing additional plugins -RUN if [ -s requirements.txt ]; then pip install -r requirements.txt; fi +RUN if [ -s /usr/src/sentry/requirements.txt ]; then pip install -r /usr/src/sentry/requirements.txt; fi