From 595bd21d38d7e1693d376e9e1786ed59e70cfc1d Mon Sep 17 00:00:00 2001 From: Morgan McLean Date: Fri, 14 Feb 2020 16:49:24 -0800 Subject: [PATCH] Set environment variable to enable Profiler (#239) --- src/emailservice/Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/emailservice/Dockerfile b/src/emailservice/Dockerfile index ff88c76..725ea9d 100644 --- a/src/emailservice/Dockerfile +++ b/src/emailservice/Dockerfile @@ -14,6 +14,8 @@ RUN pip install -r requirements.txt FROM base as final # Enable unbuffered logging ENV PYTHONUNBUFFERED=1 +# Enable Profiler +ENV ENABLE_PROFILER=1 RUN apt-get -qq update \ && apt-get install -y --no-install-recommends \