unify ENTRYPOINTS in dockerfiles (no /bin/sh)
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
This commit is contained in:
parent
91663aa541
commit
28956fb240
4 changed files with 5 additions and 5 deletions
|
@ -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"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue