Openverse is a search engine for openly-licensed media. This monorepo includes all application code.
Add SENTRY_RELEASE environment variable to relevant dockerfiles (#3389)
sarayourfriendd1cd6b151e55
diff --git a/api/Dockerfile b/api/Dockerfileindex d078a61fb..ac66944fa 100644--- a/api/Dockerfile+++ b/api/Dockerfile@@ -106,6 +106,7 @@ RUN env \# Add the release version to the docker containerARG SEMANTIC_VERSIONENV SEMANTIC_VERSION=$SEMANTIC_VERSION+ENV SENTRY_RELEASE=$SEMANTIC_VERSION# Exposes# - 8000: Dev server for API Django appdiff --git a/frontend/Dockerfile b/frontend/Dockerfileindex 5c575e939..5006fadad 100644--- a/frontend/Dockerfile+++ b/frontend/Dockerfile@@ -71,6 +71,9 @@ COPY --from=builder --chown=node:node /home/node/frontend ./frontend/WORKDIR /home/node/frontend/+ARG SEMANTIC_VERSION+ENV SENTRY_RELEASE=$SEMANTIC_VERSION+# set app serving to permissive / assignedENV NUXT_HOST=0.0.0.0diff --git a/ingestion_server/Dockerfile b/ingestion_server/Dockerfileindex 132d8066e..8a876c3e2 100644--- a/ingestion_server/Dockerfile+++ b/ingestion_server/Dockerfile@@ -78,4 +78,7 @@ COPY --chown=ingestionu . /ingestion_server/# - 8002: Gunicorn server for `indexer_worker` Falcon appEXPOSE 8001 8002+ARG SEMANTIC_VERSION+ENV SENTRY_RELEASE=$SEMANTIC_VERSION+CMD ["gunicorn", "--bind", "0.0.0.0:8001", "api:api"]