content: RUN python3 -m pip install --no-cache-dir jupyter matplotlib
  # Pin ipykernel and nbformat; see https://github.com/ipython/ipykernel/issues/422
  RUN python3 -m pip install --no-cache-dir jupyter_http_over_ws ipykernel==5.1.1 nbformat==4.4.0
  RUN jupyter serverextension enable --py jupyter_http_over_ws
  
  RUN mkdir -p /tf/tensorflow-tutorials && chmod -R a+rwx /tf/
  RUN mkdir /.local && chmod a+rwx /.local
  RUN apt-get install -y --no-install-recommends wget
  # some examples require git to fetch dependencies
  RUN apt-get install -y --no-install-recommends git
  WORKDIR /tf/tensorflow-tutorials
  RUN wget https://raw.githubusercontent.com/tensorflow/docs/master/site/en/tutorials/keras/classification.ipynb
  RUN wget https://raw.githubusercontent.com/tensorflow/docs/master/site/en/tutorials/keras/overfit_and_underfit.ipynb
  RUN wget https://raw.githubusercontent.com/tensorflow/docs/master/site/en/tutorials/keras/regression.ipynb
  RUN wget https://raw.githubusercontent.com/tensorflow/docs/master/site/en/tutorials/keras/save_and_load.ipynb
  RUN wget https://raw.githubusercontent.com/tensorflow/docs/master/site/en/tutorials/keras/text_classification.ipynb
  RUN wget https://raw.githubusercontent.com/tensorflow/docs/master/site/en/tutorials/keras/text_classification_with_hub.ipynb
  COPY readme-for-jupyter.md README.md
  RUN apt-get autoremove -y && apt-get remove -y wget
  WORKDIR /tf
  EXPOSE 8888
  
  RUN python3 -m ipykernel.kernelspec
  
  CMD ["bash", "-c", "source /etc/bash.bashrc && jupyter notebook --notebook-dir=/tf --ip 0.0.0.0 --no-browser --allow-root"]
  