Skip to content
Snippets Groups Projects
Commit d7806870 authored by Adam Fekete's avatar Adam Fekete
Browse files

include tutorials into the image

parent cf56c069
No related branches found
No related tags found
No related merge requests found
tutorial/
**/.git **/.git
**/.ipython/ **/.ipython/
......
...@@ -42,4 +42,4 @@ RUN pip install --prefer-binary --no-cache-dir \ ...@@ -42,4 +42,4 @@ RUN pip install --prefer-binary --no-cache-dir \
USER ${NB_UID} USER ${NB_UID}
WORKDIR "${HOME}" WORKDIR "${HOME}"
# COPY --chown=${NB_UID} tutorials/ . COPY --chown=${NB_UID} tutorial/ .
...@@ -5,7 +5,19 @@ Building the docker image: ...@@ -5,7 +5,19 @@ Building the docker image:
docker build -t gitlab-registry.mpcdf.mpg.de/nomad-lab/nomad-md-tutorial:latest . docker build -t gitlab-registry.mpcdf.mpg.de/nomad-lab/nomad-md-tutorial:latest .
``` ```
Starting th jupyter notebook: Starting the jupyter notebook:
```
docker run --rm -it -p 8888:8888 gitlab-registry.mpcdf.mpg.de/nomad-lab/nomad-md-tutorial:latest
```
Note:
- follow the link in the terminal to open the notebook in your browser
- remove the "--rm" cli argument to keep the container after stopping it
## Development
Starting the jupyter notebook:
``` ```
docker run --rm -it -p 8888:8888 -v "${PWD}":/home/jovyan/work gitlab-registry.mpcdf.mpg.de/nomad-lab/nomad-md-tutorial:latest docker run --rm -it -p 8888:8888 -v "${PWD}":/home/jovyan/work gitlab-registry.mpcdf.mpg.de/nomad-lab/nomad-md-tutorial:latest
``` ```
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment