Skip to content
Snippets Groups Projects
Commit b1848e6d authored by Marcus Meyer's avatar Marcus Meyer
Browse files

Updated README.md

parent 0e51f403
No related branches found
No related tags found
No related merge requests found
......@@ -2,11 +2,12 @@
## Introduction
This repository contains an exemplary Jupyter profile which works with the RWTHjupyter cluster. To be more specific, it includes the following files
This repository contains an exemplary Jupyter profiles which works with the RWTHjupyter cluster. To be more specific, it includes the following files
* `Quickstart.ipynb` which is an exemplary Jupyter notebook file.
* `environment.yml` which specifies the required Python packages needed to run `Quickstart.ipynb`. This file is used by Anaconda or `conda`.
* `Dockerfile` which defines the linux environment. In the end, the packages in `environment.yml` are installed.
* `Dockerfile` which defines the linux environment based on Python3.9. In the end, the packages in `environment.yml` are installed.
* `Dockerfile.python-*` defines the linux environment based on a specific python version. In the end, the packages in `environment.yml` are installed.
* `.gitlab-ci.yml` which specifies the necessary Docker build commands (which are executed every time `Dockerfile` changes in Git).
## Installation
......@@ -31,7 +32,12 @@ cd ${WORKDIR}
docker login registry.git.rwth-aachen.de
# Build the Docker image
docker build --tag jupyter-example-profile .
docker build --tag jupyter-example-profile . # Default version (Python 3.9)
docker build --tag jupyter-example-profile -f Dockerfile.python-3.10 # Python 3.10
docker build --tag jupyter-example-profile -f Dockerfile.python-3.11 # Python 3.11
docker build --tag jupyter-example-profile -f Dockerfile.python-3.12 # Python 3.12
docker build --tag jupyter-example-profile -f Dockerfile.python-3.13 # Python 3.13
# Run the Docker image
docker run --name='jupyter-example-profile' --rm --interactive --tty --publish 8888:8888 --volume ${WORKDIR}:/home/jovyan jupyter-example-profile
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment