2
0

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.
This commit is contained in:
Joe Adams 2020-03-16 14:08:51 -04:00 committed by GitHub
parent 5f7c18bd18
commit a7c5a32e36
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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