Skip to content

Commit

Permalink
Move notebook dev Docker files to a dedicated directory
Browse files Browse the repository at this point in the history
  • Loading branch information
jbaptperez committed Nov 22, 2024
1 parent dcaa740 commit 20d5c66
Show file tree
Hide file tree
Showing 10 changed files with 7 additions and 7 deletions.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ ENV JUPYTER_PORT=8844
RUN mkdir -p /home/picatrix/.local/share/jupyter/nbextensions/snippets/ && \
mkdir -p /home/picatrix/.jupyter/custom

COPY --chown=1000:1000 docker/dev/build/timesketchrc /home/picatrix/.timesketchrc
COPY --chown=1000:1000 docker/dev/build/timesketch_token /home/picatrix/.timesketch.token
COPY --chown=1000:1000 docker/dev/notebook/timesketchrc /home/picatrix/.timesketchrc
COPY --chown=1000:1000 docker/dev/notebook/timesketch_token /home/picatrix/.timesketch.token
COPY --chown=1000:1000 . /home/picatrix/code
COPY --chown=1000:1000 docker/dev/build/snippets.json /home/picatrix/.local/share/jupyter/nbextensions/snippets/snippets.json
COPY --chown=1000:1000 docker/dev/build/10-widgets.py /home/picatrix/.ipython/profile_default/startup/10-widgets.py
COPY --chown=1000:1000 docker/dev/build/logo.png /home/picatrix/.jupyter/custom/logo.png
COPY --chown=1000:1000 docker/dev/build/custom.css /home/picatrix/.jupyter/custom/custom.css
COPY --chown=1000:1000 docker/dev/build/timesketch /home/picatrix/picenv/share/jupyter/nbextensions/timesketch
COPY --chown=1000:1000 docker/dev/notebook/snippets.json /home/picatrix/.local/share/jupyter/nbextensions/snippets/snippets.json
COPY --chown=1000:1000 docker/dev/notebook/10-widgets.py /home/picatrix/.ipython/profile_default/startup/10-widgets.py
COPY --chown=1000:1000 docker/dev/notebook/logo.png /home/picatrix/.jupyter/custom/logo.png
COPY --chown=1000:1000 docker/dev/notebook/custom.css /home/picatrix/.jupyter/custom/custom.css
COPY --chown=1000:1000 docker/dev/notebook/timesketch /home/picatrix/picenv/share/jupyter/nbextensions/timesketch

RUN sed -i -e "s/c.NotebookApp.token = 'picatrix'/c.NotebookApp.token = 'timesketch'/g" /home/picatrix/.jupyter/jupyter_notebook_config.py && \
sed -i -e "s/c.NotebookApp.port = 8899/c.NotebookApp.port = 8844/g" /home/picatrix/.jupyter/jupyter_notebook_config.py && \
Expand Down
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 20d5c66

Please sign in to comment.