unify ENTRYPOINTS in dockerfiles (no /bin/sh)

Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
This commit is contained in:
Ahmet Alp Balkan 2018-06-21 12:42:14 -07:00
parent 91663aa541
commit 28956fb240
4 changed files with 5 additions and 5 deletions

View file

@ -4,11 +4,11 @@ FROM grpc/python:1.0
ENV PYTHONUNBUFFERED=0
# add files into working directory
ADD ./*.py /home/
COPY . /home/
WORKDIR /home
# set listen port
ENV PORT "8080"
EXPOSE 8080
ENTRYPOINT python /home/recommendation_server.py
ENTRYPOINT ["python", "/home/recommendation_server.py"]