recommendationsvc: optimize img (1.1 GB to 310 MB) (#45)
This commit is contained in:
parent
1f60819dee
commit
3863f6d14d
2 changed files with 5 additions and 3 deletions
|
@ -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
|
# show python logs as they occur
|
||||||
ENV PYTHONUNBUFFERED=0
|
ENV PYTHONUNBUFFERED=0
|
||||||
|
|
||||||
|
|
|
@ -12,7 +12,7 @@ google-cloud-trace==0.19.0
|
||||||
google-python-cloud-debugger==2.8
|
google-python-cloud-debugger==2.8
|
||||||
googleapis-common-protos==1.5.3
|
googleapis-common-protos==1.5.3
|
||||||
grpcio==1.13.0
|
grpcio==1.13.0
|
||||||
grpcio-health-checking==1.14.1
|
grpcio-health-checking==1.13.0
|
||||||
grpcio-tools==1.0.0
|
grpcio-tools==1.0.0
|
||||||
httplib2==0.11.3
|
httplib2==0.11.3
|
||||||
idna==2.7
|
idna==2.7
|
||||||
|
|
Loading…
Reference in a new issue