microservices-demo/src/recommendationservice/Dockerfile
Ahmet Alp Balkan 28956fb240 unify ENTRYPOINTS in dockerfiles (no /bin/sh)
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-21 14:03:04 -07:00

14 lines
246 B
Docker

FROM grpc/python:1.0
# show python logs as they occur
ENV PYTHONUNBUFFERED=0
# add files into working directory
COPY . /home/
WORKDIR /home
# set listen port
ENV PORT "8080"
EXPOSE 8080
ENTRYPOINT ["python", "/home/recommendation_server.py"]