Set environment variable to enable Profiler (#239)

This commit is contained in:
Morgan McLean 2020-02-14 16:49:24 -08:00 committed by GitHub
parent 51064dcf9d
commit 595bd21d38
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

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