Add Stackdriver Profiler Python agent (#176)
* Add Stackdriver Profiler Python agent to EmailService and RecommendationService * Update recommendation_server.py * Moved Profiler init to a function * Moved Profiler init to a function * Delete key.json * Delete key.json * Delete key.json
This commit is contained in:
parent
f276995585
commit
86fb1662a3
10 changed files with 97 additions and 13 deletions
|
@ -2,12 +2,16 @@ FROM python:3-slim as base
|
|||
|
||||
FROM base as builder
|
||||
|
||||
RUN apt-get -qq update \
|
||||
&& apt-get install -y --no-install-recommends \
|
||||
g++ \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# get packages
|
||||
COPY requirements.txt .
|
||||
RUN pip install -r requirements.txt
|
||||
|
||||
FROM base as final
|
||||
|
||||
# Enable unbuffered logging
|
||||
ENV PYTHONUNBUFFERED=1
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue