Skip to content

Commit

Permalink
Merge pull request #17 from StatCan/constrstarts-fastai
Browse files Browse the repository at this point in the history
update constrstarts-fastai image
  • Loading branch information
blairdrummond authored Jun 30, 2020
2 parents b197c34 + e1a4f54 commit 0d77351
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
5 changes: 4 additions & 1 deletion constrstarts-fastai/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
# GPU, ubuntu16.04
FROM paperspace/fastai:1.0-CUDA9.2-base-3.0-v1.0.6

# RUN apt-get update && apt-get install htop \
# && apt-get clean \
# && rm -rf /var/lib/apt/lists/*

ENV NB_PREFIX /
ENV PATH=$PATH:/opt/conda/bin
ENV USER fastai
Expand All @@ -15,6 +19,5 @@ COPY requirements.txt install_requirements.sh /home/jovyan/
RUN apt-get remove -y libxml2
RUN rm -rf /notebooks


# "shell" form
CMD ./install_requirements.sh ; /opt/conda/envs/fastai/bin/jupyter notebook --notebook-dir=/home/jovyan --ip=0.0.0.0 --no-browser --allow-root --port=8888 --NotebookApp.token='' --NotebookApp.password='' --NotebookApp.allow_origin='*' --NotebookApp.base_url=${NB_PREFIX}
6 changes: 4 additions & 2 deletions constrstarts-fastai/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@ descartes==1.1.0
rio-tiler==1.4.0
gpustat==0.6.0
mlflow==1.6.0
fastai==1.0.58
fastai==1.0.42
pigeon-jupyter==0.1.0
opencv-python==4.2.0.34
distro==1.4.0
scikit-image==0.16.2
scikit-image==0.16.2
gpustat==0.6.0
jupyterlab==2.1.5

0 comments on commit 0d77351

Please sign in to comment.