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

@ -10,4 +10,4 @@ RUN apk add --no-cache \
ca-certificates
COPY --from=builder /catalogservice /catalogservice
EXPOSE 5000
ENTRYPOINT /catalogservice
ENTRYPOINT ["/catalogservice"]

View file

@ -12,5 +12,5 @@ RUN apk add --no-cache \
ca-certificates
COPY --from=builder /productcatalogservice /productcatalogservice
EXPOSE 3550
ENTRYPOINT /productcatalogservice
ENTRYPOINT ["/productcatalogservice"]

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"]

View file

@ -11,4 +11,4 @@ FROM alpine as release
COPY --from=builder /shippingservice /shippingservice
ENV APP_PORT=50051
EXPOSE 50051
ENTRYPOINT /shippingservice
ENTRYPOINT ["/shippingservice"]