added product catalog address env var

This commit is contained in:
Dan Sanche 2018-06-20 22:37:56 -07:00
parent 1fc51262ff
commit c753f9a6ff
2 changed files with 13 additions and 9 deletions

View file

@ -8,6 +8,9 @@ ADD ./*.py /home/
WORKDIR /home
# set listen port
ENV PORT=8080
ENV PORT="8080"
ENTRYPOINT python /home/recommendation_server.py $PORT
#set product catalog address
ENV PRODUCT_CATALOG_SERVICE_ADDR="localhost:8081"
ENTRYPOINT python /home/recommendation_server.py