File tree Expand file tree Collapse file tree 4 files changed +11
-8
lines changed
Expand file tree Collapse file tree 4 files changed +11
-8
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ ENV DEBIAN_FRONTEND=noninteractive
55ENV TZ=Europe/Prague
66
77USER root
8- RUN apt update && apt install -y git g++ libz-dev procps curl wget docker.io && curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl" && install -m 755 kubectl /usr/local/bin && apt clean && rm -rf /var/lib/apt/lists/*
8+ RUN apt update && apt install -y git g++ libz-dev procps curl wget docker.io vim && curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl" && install -m 755 kubectl /usr/local/bin && apt clean && rm -rf /var/lib/apt/lists/*
99
1010RUN mkdir /opt/ASMSA && chown -R jovyan /opt/ASMSA
1111RUN adduser jovyan docker
@@ -26,8 +26,9 @@ RUN pip install git+https://github.com/onnx/tensorflow-onnx
2626
2727RUN cd /tmp && git clone --single-branch -b k8s https://github.com/ljocha/GromacsWrapper.git && pip install ./GromacsWrapper && rm -rf GromacsWrapper
2828
29- COPY IMAGE prepare.ipynb tune.ipynb train.ipynb md.ipynb /opt/ASMSA/
30- COPY ions.mdp minim-sol.mdp npt.mdp nvt.mdp /opt/ASMSA/
29+ # COPY IMAGE prepare.ipynb tune.ipynb train.ipynb md.ipynb /opt/ASMSA/
30+ # COPY ions.mdp minim-sol.mdp npt.mdp nvt.mdp /opt/ASMSA/
31+ COPY README-hub.md /opt/ASMSA
3132# COPY tuning.py tuning.sh start-notebook.sh /usr/local/bin/
3233COPY start-notebook.sh /usr/local/bin/
3334# WORKDIR /home/jovyan
Original file line number Diff line number Diff line change 1- cerit.io/ljocha/asmsa:2024-12
1+ cerit.io/ljocha/asmsa:2024-13
Original file line number Diff line number Diff line change 11# ASMSA in JupyterHub
22
3- When one starts the ASMSA container in JupyterHub at the first time, the (persistent) home -- this directory is empty.
3+ When one starts the ASMSA container in JupyterHub at the first time, the (persistent) home -- this directory -- is empty.
44
55Populate it with running terminal and the command
66
Original file line number Diff line number Diff line change 33source /opt/bin/activate
44
55cd /home/jovyan
6- mv ASMSA ASMSA.$( date | tr ' ' -)
6+ # mv ASMSA ASMSA.$(date | tr ' ' -)
77
8- (cd /opt && tar cf - ASMSA) | tar xf -
9- cd ASMSA
8+ [ -f README.md ] || cp /opt/ASMSA/README-hub.md README.md
9+
10+ # (cd /opt && tar cf - ASMSA) | tar xf -
11+ # cd ASMSA
1012
1113# --SingleUserNotebookApp.default_url=/lab --SingleUserNotebookApp.max_body_size=6291456000
1214exec jupyterhub-singleuser --ip 0.0.0.0 " $@ "
You can’t perform that action at this time.
0 commit comments