mirror of
https://github.com/getsentry/self-hosted.git
synced 2026-02-06 10:57:17 +00:00
16 lines
514 B
Docker
16 lines
514 B
Docker
ARG SENTRY_IMAGE
|
|
FROM ${SENTRY_IMAGE}
|
|
|
|
RUN pip install https://github.com/getsentry/sentry-nodestore-s3/archive/main.zip
|
|
|
|
COPY . /usr/src/sentry
|
|
|
|
RUN if [ -s /usr/src/sentry/enhance-image.sh ]; then \
|
|
/usr/src/sentry/enhance-image.sh; \
|
|
fi
|
|
|
|
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; \
|
|
fi
|