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

View file

@ -14,6 +14,8 @@ RUN pip install -r requirements.txt
FROM base as final FROM base as final
# Enable unbuffered logging # Enable unbuffered logging
ENV PYTHONUNBUFFERED=1 ENV PYTHONUNBUFFERED=1
# Enable Profiler
ENV ENABLE_PROFILER=1
RUN apt-get -qq update \ RUN apt-get -qq update \
&& apt-get install -y --no-install-recommends \ && apt-get install -y --no-install-recommends \