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

working image

parent 535fa9d3
Branches
No related tags found
No related merge requests found
tutorial/
**/.git
**/.ipython/
**/.keras/
**/.local/
**/.cache/
**/.config/
**/.ipynb_checkpoints/
tutorial/
.idea/
.ipython/
.keras/
.local/
.DS_Store
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class
# C extensions
*.so
# Distribution / packaging
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST
# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec
# Installer logs
pip-log.txt
pip-delete-this-directory.txt
# Unit test / coverage reports
htmlcov/
.tox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
.hypothesis/
.pytest_cache/
# Translations
*.mo
*.pot
# Django stuff:
*.log
local_settings.py
db.sqlite3
# Flask stuff:
instance/
.webassets-cache
# Scrapy stuff:
.scrapy
# Sphinx documentation
docs/_build/
# PyBuilder
target/
# Jupyter Notebook
.ipynb_checkpoints
# pyenv
.python-version
# celery beat schedule file
celerybeat-schedule
# SageMath parsed files
*.sage.py
# Environments
.env
.venv
env/
venv/
ENV/
env.bak/
venv.bak/
# Spyder project settings
.spyderproject
.spyproject
# Rope project settings
.ropeproject
# mkdocs documentation
/site
# mypy
.mypy_cache/
FROM jupyter/scipy-notebook:python-3.7
# ================================================================================
# Linux applications and libraries
# ================================================================================
# USER root
#
# RUN apt-get update --yes \
# && apt-get install --yes --no-install-recommends \
# openmpi-bin \
# libopenmpi-dev \
# cmake \
# libblas-dev \
# liblapack-dev \
# gfortran \
# && apt-get clean && rm -rf /var/lib/apt/lists/*
#
# USER ${NB_UID}
# ================================================================================
# Python environment
# ================================================================================
# RUN mamba install --quiet --yes \
# "nbgitpuller" \
# && mamba clean --all -f -y \
# && fix-permissions "${CONDA_DIR}" \
# && fix-permissions "/home/${NB_USER}"
RUN pip install --prefer-binary --no-cache-dir \
"mdanalysis==2.1.0" \
"nglview==3.0.3" \
"scikit-learn" \
"pymatgen" \
"ipywidgets>=7.6.0,<8" \
"git+https://gitlab.mpcdf.mpg.de/nomad-lab/nomad-FAIR.git@develop#egg=nomad-lab" \
&& fix-permissions "${CONDA_DIR}" \
&& fix-permissions "/home/${NB_USER}"
# Switch back to jovyan to avoid accidental container runs as root
USER ${NB_UID}
WORKDIR "${HOME}"
# COPY --chown=${NB_UID} tutorials/ .
## Getting started
Building the docker image:
```
docker build -t nomadmdtutorial:latest .
```
Starting th jupyter notebook:
```
docker run --rm -it -p 8888:8888 -v "${PWD}":/home/jovyan/work nomadmdtutorial:latest
```
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment