FROM envoyproxy/envoy-alpine-dev:latest RUN apk update && apk add py3-pip bash RUN pip3 install -q Flask==0.11.1 RUN mkdir /code ADD ./service.py /code/ ADD ./start_service.sh /usr/local/bin/start_service.sh RUN chmod u+x /usr/local/bin/start_service.sh ENTRYPOINT ["/bin/sh", "/usr/local/bin/start_service.sh"]