Openverse is a search engine for openly-licensed media. This monorepo includes all application code.
Add ON_ERROR_STOP option for psql operations in upstream_db (#2123)
Madison Swain-Bowden1d70ae42c606
diff --git a/docker/upstream_db/Dockerfile b/docker/upstream_db/Dockerfileindex 96fa212db..a7d6cb37f 100644--- a/docker/upstream_db/Dockerfile+++ b/docker/upstream_db/Dockerfile@@ -9,6 +9,11 @@ ENV PYTHONUNBUFFERED=1ENV PIP_NO_CACHE_DIR=1ENV PIP_NO_COLOR=1+# Enable stop-on-error+# https://www.postgresql.org/docs/current/app-psql.html+#ENV PGOPTIONS="-c on_error_stop=on"+RUN echo "\set ON_ERROR_STOP on" >> /root/.psqlrc+RUN apt-get update \&& apt-get -yqq install \python3-boto3 \