added protobuffs

This commit is contained in:
Dan Sanche 2018-06-14 12:30:50 -07:00
parent 11eed708b6
commit 0844d37872
5 changed files with 2314 additions and 6 deletions

View file

@ -1,13 +1,11 @@
FROM python:3.5-jessie
FROM grpc/python:1.0
RUN pip --no-cache-dir install \
grpcio
# show python logs as they occur
ENV PYTHONUNBUFFERED=0
# add files into working directory
ADD recommendation.py /home
ADD ./*.py /home/
WORKDIR /home
ENTRYPOINT /usr/bin/python /home/recommendation.py
ENTRYPOINT python /home/recommendation_server.py