Commit 67a40c5e authored by Peter Parente's avatar Peter Parente

Bump kernel gateway to 0.3.1

Also change CMD vs ENTRYPOINT to match what minimal-notebook
and some major official Docker images do (redis, mysql, nginx, ...)
by having the jupyter kernelgateway in the CMD, and just tini --
in the entrypoint

(c) Copyright IBM Corp. 2016
parent 9aae44ef
......@@ -33,7 +33,7 @@ RUN apt-get update && \
build-essential \
python3-dev && \
easy_install3 pip && \
pip install jupyter_kernel_gateway==0.2.0 && \
pip install jupyter_kernel_gateway==0.3.1 && \
apt-get remove --purge -y \
build-essential \
python3-dev && \
......@@ -43,8 +43,8 @@ RUN apt-get update && \
# Configure container startup
EXPOSE 8888
WORKDIR /tmp
ENTRYPOINT ["tini", "--", "jupyter", "kernelgateway"]
CMD ["--KernelGatewayApp.ip=0.0.0.0"]
ENTRYPOINT ["tini", "--"]
CMD ["jupyter", "kernelgateway", "--KernelGatewayApp.ip=0.0.0.0"]
# Run container as jovyan
USER jovyan
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment