microservices-demo/src/recommendationservice/Dockerfile

15 lines
246 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
COPY . /home/
WORKDIR /home
2018-06-14 22:52:41 +00:00
# set listen port
ENV PORT "8080"
EXPOSE 8080
2018-06-21 05:37:56 +00:00
ENTRYPOINT ["python", "/home/recommendation_server.py"]