From 9f34fb1ca4367aa0933f5584ac573bda703febbb Mon Sep 17 00:00:00 2001 From: Frank Sachsenheim Date: Mon, 5 Oct 2015 21:08:21 +0200 Subject: [PATCH] Changes source location to /ipython in Docker image placing it in `/srv` violates FHS --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 92b64fbeb..a0f476fed 100644 --- a/Dockerfile +++ b/Dockerfile @@ -40,13 +40,13 @@ RUN apt-get update -qq \ && pip2 --no-cache-dir install ipykernel \ && pip3 --no-cache-dir install ipykernel -ADD . /srv/notebook +ADD . /usr/src/jupyter-notebook RUN BUILD_DEPS="nodejs-legacy npm" \ && apt-get update -qq \ && DEBIAN_FRONTEND=noninteractive apt-get install -yq --no-install-recommends $BUILD_DEPS \ \ - && pip3 install --no-cache-dir --pre -e /srv/notebook \ + && pip3 install --no-cache-dir --pre -e /usr/src/jupyter-notebook \ \ && apt-get purge -y --auto-remove \ -o APT::AutoRemove::RecommendsImportant=false -o APT::AutoRemove::SuggestsImportant=false $BUILD_DEPS \