diff --git a/docker/fidle_python_pip.dockerfile b/docker/fidle_python_pip.dockerfile index b56bc33229af6f6aaacef548b0f29977fb707f56..427f415cfca81d52dcb15db007b589e6941a0a8f 100644 --- a/docker/fidle_python_pip.dockerfile +++ b/docker/fidle_python_pip.dockerfile @@ -1,6 +1,6 @@ # # -ARG PYTHON_VERSION=3.8 +ARG PYTHON_VERSION=3.7 ARG docker_image_base=python:${PYTHON_VERSION}-slim FROM ${docker_image_base} @@ -11,10 +11,12 @@ ENV TZ=Europe/Paris LANG=C.UTF-8 LC_ALL=C.UTF-8 DEBIAN_FRONTEND=noninteractive RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone && \ apt update --fix-missing && \ - apt install -y --no-install-recommends apt-utils \ - python3-venv \ - python3-pip && \ + apt install -y --no-install-recommends apt-utils &&\ + apt install -y wget curl git \ + python3-venv python3-pip && \ apt -y dist-upgrade && \ + curl -fsSL https://deb.nodesource.com/setup_lts.x | bash - && \ + apt install -y nodejs && \ apt clean && \ rm -fr /var/lib/apt/lists/* @@ -40,6 +42,8 @@ COPY notebook.json /root/.jupyter/nbconfig/notebook.json # Jupyter notebook uses 8888 EXPOSE 8888 +# Tensor board uses 6006 +EXPOSE 6006 VOLUME /notebooks WORKDIR /notebooks