This repository has been archived by the owner on May 31, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rename existing notebook and create generic notebook (#11)
- Rename notebook files - Create example notebook with existing data - Create notebook with empty collection id, and help text - Update language in README and notebooks - Tweak Dockerfile - Resolves #9
- Loading branch information
Showing
4 changed files
with
35 additions
and
53 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,10 +1,11 @@ | ||
# Ubuntu 18.04 | ||
# https://github.com/jupyter/docker-stacks/blob/master/base-notebook/Dockerfile | ||
FROM jupyter/base-notebook | ||
|
||
# Metadata | ||
LABEL maintainer="Nick Ruest <[email protected]>" | ||
LABEL description="Docker image for the Archives Unleashed Notebooks" | ||
LABEL website="http://archivesunleashed.org/" | ||
LABEL website="https://archivesunleashed.org/" | ||
|
||
RUN pip install ggplot==0.11.5 \ | ||
matplotlib==3.0.2 \ | ||
|
@@ -19,10 +20,11 @@ RUN sed -i 's/pandas.lib/pandas/g' /opt/conda/lib/python3.7/site-packages/ggplot | |
# Make things cleaner in Notebook | ||
RUN rm -rf $HOME/work | ||
|
||
# Copy auk-notebook stuff over. | ||
# Copy auk-notebook files over. | ||
COPY data $HOME/data | ||
COPY nltk_data $HOME/nltk_data | ||
COPY AUK_Notebook.ipynb $HOME | ||
COPY AUK_Notebook_OUTPUT.ipynb $HOME | ||
COPY auk-notebook.ipynb $HOME | ||
COPY auk-notebook-example.ipynb $HOME | ||
|
||
# Start Jupyter Notebook | ||
CMD ["start.sh", "jupyter", "notebook"] |
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
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
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