Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
uoo723 committed Nov 5, 2019
1 parent 484aef7 commit 2251ca7
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@ RUN wget --quiet https://repo.anaconda.com/archive/Anaconda3-5.3.0-Linux-x86_64.
cp ~/.bashrc /etc/bash.bashrc && \
chmod 777 /etc/bash.bashrc

# Install tensorflow-gpu
RUN conda install -y tensorflow-gpu=2.0.0 && conda clean -y -a

# Make jupyter lab working directory
RUN mkdir -p /jupyter-lab && chmod 777 /jupyter-lab

Expand All @@ -33,6 +30,13 @@ RUN apt-get install -y curl grep sed dpkg && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*

# Install python packages
RUN conda update -y conda && \
conda install -y tensorflow-gpu=2.0.0 nodejs black && \
conda update -y jupyterlab && \
conda clean -y -a

VOLUME ["/opt/conda/share/jupyter/lab", "/root/.jupyter", "/jupyter-lab"]
WORKDIR /jupyter-lab
EXPOSE 8888

Expand Down

0 comments on commit 2251ca7

Please sign in to comment.