Skip to content

Commit

Permalink
first commit: first 6 chapters
Browse files Browse the repository at this point in the history
  • Loading branch information
benman1 committed Jun 24, 2020
1 parent 607e4f6 commit 1acf25a
Show file tree
Hide file tree
Showing 33 changed files with 38,236 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
.DS_Store
.ipynb_checkpoints

Large diffs are not rendered by default.

11 changes: 11 additions & 0 deletions chapter01/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#Dockerfile
FROM continuumio/miniconda3
ADD ./run_notebook.sh /usr/local/bin/
RUN chmod +x /usr/local/bin/run_notebook.sh
&& chmod -R 777 /usr/local/*
RUN apt update -qq && apt install -y libgl1-mesa-glx libegl1-mesa libxrandr2 libxrandr2 libxss1 libxcursor1 libxcomposite1 libasound2 libxi6 libxtst6 build-essential vim curl wget libhdf5-dev libhdf5-serial-dev cython3 python-h5py
RUN useradd -m docker -s /bin/bash -p '*' && chown -R 1000:1000 /opt/conda
USER docker
RUN conda -f /home/docker/tabiri/environment.yml && echo "source activate env" > ~/.bashrc
ENV PATH /opt/conda/envs/env/bin:$PATH
CMD /bin/bash /usr/local/bin/run_notebook.sh
Loading

0 comments on commit 1acf25a

Please sign in to comment.