microservices-demo/src/recommendationservice/Dockerfile

17 lines
311 B
Text
Raw Normal View History

2018-06-14 19:30:50 +00:00
FROM grpc/python:1.0
# show python logs as they occur
ENV PYTHONUNBUFFERED=0
# add files into working directory
2018-06-14 19:30:50 +00:00
ADD ./*.py /home/
WORKDIR /home
2018-06-14 22:52:41 +00:00
# set listen port
2018-06-21 05:37:56 +00:00
ENV PORT="8080"
2018-06-14 22:52:41 +00:00
2018-06-21 05:37:56 +00:00
#set product catalog address
ENV PRODUCT_CATALOG_SERVICE_ADDR="localhost:8081"
ENTRYPOINT python /home/recommendation_server.py