We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e54ce6 commit 61316c0Copy full SHA for 61316c0
scripts/Dockerfile
@@ -12,7 +12,9 @@ RUN apt-get update && \
12
13
USER $NB_USER
14
15
-COPY create_testenv.sh /tmp/create_testenv.sh
+COPY scripts/create_testenv.sh /tmp/create_testenv.sh
16
+COPY setup.py $HOME/work/setup.py
17
+COPY requirements.txt $HOME/work/requirements.txt
18
RUN /bin/bash /tmp/create_testenv.sh --global --no-setup
19
20
# matplotlib nonsense
scripts/start_container.sh
@@ -5,7 +5,7 @@ SRC_DIR=${SRC_DIR:-`pwd`}
5
NOTEBOOK_DIR=${NOTEBOOK_DIR:-$SRC_DIR/notebooks}
6
TOKEN=$(openssl rand -hex 24)
7
8
-docker build -t pymc3 $SRC_DIR/scripts
+docker build -t pymc3 -f $SRC_DIR/scripts/Dockerfile .
9
docker run -d \
10
-p $PORT:8888 \
11
-v $SRC_DIR:/home/jovyan/pymc3 \
0 commit comments