added product catalog address env var
This commit is contained in:
parent
1fc51262ff
commit
c753f9a6ff
2 changed files with 13 additions and 9 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue