-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
updated dockerfile to remove tests and change path to new docs
- Loading branch information
Showing
1 changed file
with
8 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,15 @@ | ||
# Copyright (c) Jupyter Development Team. | ||
# Distributed under the terms of the Modified BSD License. | ||
|
||
# HSSM image found at zenkavi/hssm | ||
# To build using this image | ||
# docker build -t zenkavi/hssm:0.0.3 -f Dockerfile . | ||
|
||
# HSSM images built with this Dockerfile can be found at zenkavi/hssm | ||
# docker pull zenkavi/hssm | ||
|
||
ARG BASE_CONTAINER=jupyter/minimal-notebook:python-3.9 | ||
FROM $BASE_CONTAINER | ||
|
||
LABEL maintainer="Zeynep Enkavi <[email protected]>" | ||
|
||
USER root | ||
|
||
# ffmpeg for matplotlib anim & dvipng for latex labels | ||
|
@@ -54,13 +55,10 @@ USER $NB_UID | |
WORKDIR $HOME | ||
|
||
# Create a folder for example | ||
RUN mkdir /home/$NB_USER/tutorial_notebooks && \ | ||
mkdir /home/$NB_USER/tutorial_notebooks/no_execute && \ | ||
RUN mkdir -p /home/$NB_USER/docs/tutorials && \ | ||
mkdir -p /home/$NB_USER/docs/getting_started && \ | ||
fix-permissions /home/$NB_USER | ||
|
||
# Copy example data and scripts to the example folder | ||
COPY /docs/tutorial_notebooks /home/${NB_USER}/tutorial_notebooks | ||
|
||
# Copy tests and run them | ||
COPY /tests /opt/conda/lib/python3.9/site-packages/hssm/tests | ||
RUN python -m unittest discover -s /opt/conda/lib/python3.9/site-packages/hssm/tests -p 'test_*.py' | ||
COPY /docs/tutorials /home/${NB_USER}/docs/tutorials | ||
COPY /docs/getting_started /home/${NB_USER}/docs/getting_started |