File: notebook.dockerfile

package info (click to toggle)
gromacs 2026~rc-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 274,216 kB
  • sloc: xml: 3,831,143; cpp: 686,111; ansic: 75,300; python: 21,171; sh: 3,553; perl: 2,246; yacc: 644; fortran: 397; lisp: 265; makefile: 174; lex: 125; awk: 68; csh: 39
file content (24 lines) | stat: -rw-r--r-- 576 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Provide an easy-to-reproduce environment in which to test full Python functionality.

# Run with default command and map the http port to the host.
#
#    docker run --rm -ti -p 8888:8888 gmxapi/notebook
#
# Building:
#
# Requires Docker 17.05 or higher.
#
# Use this (the "docker" directory) as the context directory.
#
#    docker build -t gmxapi/notebook -f notebook.dockerfile .
#

ARG REF=latest
FROM gmxapi/ci-mpich:$REF

RUN . $VENV/bin/activate && \
    pip install --no-cache-dir jupyter

ADD --chown=testing:testing notebook /docker_entry_points

CMD ["notebook"]