recommendationsvc: optimize img (1.1 GB to 310 MB) (#45)

This commit is contained in:
Ahmet Alp Balkan 2018-09-21 15:40:25 -07:00 committed by GitHub
parent 1f60819dee
commit 3863f6d14d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 3 deletions

View File

@ -1,5 +1,7 @@
FROM grpc/python:1.0
FROM python:2.7-slim
RUN apt-get update -qqy && \
apt-get -qqy install wget && \
rm -rf /var/lib/apt/lists/*
# show python logs as they occur
ENV PYTHONUNBUFFERED=0

View File

@ -12,7 +12,7 @@ google-cloud-trace==0.19.0
google-python-cloud-debugger==2.8
googleapis-common-protos==1.5.3
grpcio==1.13.0
grpcio-health-checking==1.14.1
grpcio-health-checking==1.13.0
grpcio-tools==1.0.0
httplib2==0.11.3
idna==2.7